Renamed function

This commit is contained in:
Michael 2020-08-05 03:36:37 +00:00
parent 1d44e544cf
commit 018abb4d1d
2 changed files with 2 additions and 2 deletions

View file

@ -73,7 +73,7 @@ class Group
* @return array
* @throws \Exception
*/
public static function getUngrouped(int $uid)
public static function listUngrouped(int $uid)
{
return q("SELECT *
FROM `contact`

View file

@ -316,7 +316,7 @@ class Group extends BaseModule
}
if ($nogroup) {
$contacts = Model\Contact\Group::getUngrouped(local_user());
$contacts = Model\Contact\Group::listUngrouped(local_user());
} else {
$contacts_stmt = DBA::select('contact', [],
['uid' => local_user(), 'pending' => false, 'blocked' => false, 'self' => false],