diff options
author | FChannel <=> | 2021-01-25 14:14:27 -0800 |
---|---|---|
committer | FChannel <=> | 2021-01-25 14:14:27 -0800 |
commit | d94cbd3375df4cd01d068f56da1c6e4b0acd693c (patch) | |
tree | 363cc205bfd350c205f26cb23c8a1c05df6df897 /Database.go | |
parent | aa76455a3dfd4504697e1b3fdb33e0aeb01db4d7 (diff) |
removed duplicated To fields
Diffstat (limited to 'Database.go')
-rw-r--r-- | Database.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Database.go b/Database.go index 5a11f22..cbb035b 100644 --- a/Database.go +++ b/Database.go @@ -556,11 +556,8 @@ func GetObjectRepliesRepliesDB(db *sql.DB, parent ObjectBase) (*CollectionBase, result = append(result, post) } - /* - remoteCollection := GetObjectRepliesRemote(db, parent) + remoteCollection, postc, imgc := GetObjectRepliesCache(db, parent) - var postc int - var imgc int for _, e := range remoteCollection.OrderedItems { nColl.OrderedItems = append(nColl.OrderedItems, e) @@ -572,7 +569,6 @@ func GetObjectRepliesRepliesDB(db *sql.DB, parent ObjectBase) (*CollectionBase, nColl.OrderedItems = result -*/ return &nColl, 0, 0 } |