diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-12-06 12:49:18 -0800 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-12-06 12:49:18 -0800 |
commit | f2d8a3d846b9322dd4e3d7312a41be575d9b74e1 (patch) | |
tree | a5b1d9216c9abe77f87ecd3e1818548491b8a033 /system/db/content.go | |
parent | 4e5f54cf8f64b849bf2fbdd610012ebeb7786091 (diff) |
removing old unnecessary text processing code
Diffstat (limited to 'system/db/content.go')
-rw-r--r-- | system/db/content.go | 1 |
1 files changed, 0 insertions, 1 deletions
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) |