aboutsummaryrefslogtreecommitdiff
path: root/CacheDatabase.go
diff options
context:
space:
mode:
authorFChannel <=>2021-01-25 13:07:28 -0800
committerFChannel <=>2021-01-25 13:07:28 -0800
commite5a02f492854d7c3f8d4fd44ccb512b0da40d952 (patch)
tree9b999f94a592e289669fa6330fa9ec3c6543ebd0 /CacheDatabase.go
parent7823265b9a7bea93befdd9b04c4332be5c5b0404 (diff)
no really.... its fixed this time i promis
Diffstat (limited to 'CacheDatabase.go')
-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
}