Don#t group

This commit is contained in:
Michael 2020-05-06 15:27:13 +00:00
parent 22be2cce8a
commit 62a4638ea8

View 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']]);