]> git.mxchange.org Git - friendica.git/commitdiff
Don#t group
authorMichael <heluecht@pirati.ca>
Wed, 6 May 2020 15:27:13 +0000 (15:27 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 6 May 2020 15:27:13 +0000 (15:27 +0000)
src/Protocol/Diaspora.php

index 7ab3d76da4432987d13b6f1fc4a72ff7ee9505e3..b01d070179eb47243259af61ba9780b7d1a87ee9 100644 (file)
@@ -265,8 +265,7 @@ class Diaspora
                }
 
                $items = Item::select(['author-id', 'author-link', 'parent-author-link'],
-                       ['parent' => $item['parent'], 'gravity' => [GRAVITY_COMMENT, GRAVITY_ACTIVITY]],
-                       ['group_by' => ['author-id']]);
+                       ['parent' => $item['parent'], 'gravity' => [GRAVITY_COMMENT, GRAVITY_ACTIVITY]]);
                while ($item = DBA::fetch($items)) {
                        $contact = DBA::selectFirst('contact', ['id', 'url', 'name', 'protocol', 'batch', 'network'],
                                ['id' => $item['author-id']]);