Renamed functions

This commit is contained in:
Michael 2021-05-09 18:44:08 +00:00
parent 591619e1d3
commit a696b7f427
5 changed files with 7 additions and 7 deletions

View file

@ -56,7 +56,7 @@ class Lists extends BaseApi
if (!empty($cdata['user'])) {
$groups = DBA::select('group_member', ['gid'], ['contact-id' => $cdata['user']]);
while ($group = DBA::fetch($groups)) {
$lists[] = DI::mstdnList()->create($group['gid']);
$lists[] = DI::mstdnList()->createFromGroupId($group['gid']);
}
DBA::close($groups);
}