From f2d8a3d846b9322dd4e3d7312a41be575d9b74e1 Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Tue, 6 Dec 2016 12:49:18 -0800 Subject: removing old unnecessary text processing code --- system/db/content.go | 1 - 1 file changed, 1 deletion(-) diff --git a/system/db/content.go b/system/db/content.go index b2ba87a..94d2bad 100644 --- a/system/db/content.go +++ b/system/db/content.go @@ -403,7 +403,6 @@ func (s sortablePosts) Swap(i, j int) { func postToJSON(ns string, data url.Values) ([]byte, error) { // find the content type and decode values into it - ns = strings.TrimSuffix(ns, "_external") t, ok := content.Types[ns] if !ok { return nil, fmt.Errorf(content.ErrTypeNotRegistered, ns) -- cgit v1.2.3