aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CacheDatabase.go18
1 files changed, 9 insertions, 9 deletions
diff --git a/CacheDatabase.go b/CacheDatabase.go
index 8577c0f..5b8a6d0 100644
--- a/CacheDatabase.go
+++ b/CacheDatabase.go
@@ -384,15 +384,15 @@ func GetObjectRepliesCache(db *sql.DB, parent ObjectBase) (*CollectionBase, int,
nColl.OrderedItems = result
- remoteCollection, postc, imgc := GetObjectRepliesDB(db, parent)
-
- for _, e := range remoteCollection.OrderedItems {
- nColl.OrderedItems = append(nColl.OrderedItems, e)
- postc = postc + 1
- if len(e.Attachment) > 0 {
- imgc = imgc + 1
- }
- }
+ // remoteCollection, postc, imgc := GetObjectRepliesDB(db, parent)
+
+ // for _, e := range remoteCollection.OrderedItems {
+ // nColl.OrderedItems = append(nColl.OrderedItems, e)
+ // postc = postc + 1
+ // if len(e.Attachment) > 0 {
+ // imgc = imgc + 1
+ // }
+ // }
return &nColl, 0, 0
}