summaryrefslogtreecommitdiff
path: root/system/db/content.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-10-29 01:36:33 -0700
committerSteve Manuel <nilslice@gmail.com>2016-10-29 01:36:33 -0700
commit9f831fdf32e75a3a53845f037ada24a759d635c0 (patch)
treef9dd38c32154bcdb34b155e487db2e12e3255873 /system/db/content.go
parentb6eb040045fcfeb39dda4fcd440d2be184c8e715 (diff)
adding db/analytics init back in after reverting for debug
Diffstat (limited to 'system/db/content.go')
-rw-r--r--system/db/content.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/system/db/content.go b/system/db/content.go
index 8eb42b3..76a54a1 100644
--- a/system/db/content.go
+++ b/system/db/content.go
@@ -263,11 +263,6 @@ func SortContent(namespace string) {
cid := fmt.Sprintf("%d:%d", i, posts[i].Time())
err = b.Put([]byte(cid), j)
if err != nil {
- err := tx.Rollback()
- if err != nil {
- return err
- }
-
return err
}
}