summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/db/content.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/system/db/content.go b/system/db/content.go
index a7fbc30..7337f0f 100644
--- a/system/db/content.go
+++ b/system/db/content.go
@@ -250,10 +250,6 @@ func Query(namespace string, opts QueryOptions) [][]byte {
break
}
- if i >= opts.Count {
- break
- }
-
posts = append(posts, v)
i++
cur++
@@ -270,10 +266,6 @@ func Query(namespace string, opts QueryOptions) [][]byte {
break
}
- if i >= opts.Count {
- break
- }
-
posts = append(posts, v)
i++
cur++