summaryrefslogtreecommitdiff
path: root/system/db/content.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-12-06 12:49:18 -0800
committerSteve Manuel <nilslice@gmail.com>2016-12-06 12:49:18 -0800
commitf2d8a3d846b9322dd4e3d7312a41be575d9b74e1 (patch)
treea5b1d9216c9abe77f87ecd3e1818548491b8a033 /system/db/content.go
parent4e5f54cf8f64b849bf2fbdd610012ebeb7786091 (diff)
removing old unnecessary text processing code
Diffstat (limited to 'system/db/content.go')
-rw-r--r--system/db/content.go1
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)