From 018abb4d1dfbe0bf29b441dce281d89a437075b4 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 5 Aug 2020 03:36:37 +0000 Subject: [PATCH] Renamed function --- src/Model/Contact/Group.php | 2 +- src/Module/Group.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Model/Contact/Group.php b/src/Model/Contact/Group.php index bb05d3cc3..b2d165f6a 100644 --- a/src/Model/Contact/Group.php +++ b/src/Model/Contact/Group.php @@ -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` diff --git a/src/Module/Group.php b/src/Module/Group.php index b7fffd4f1..d9caac32d 100644 --- a/src/Module/Group.php +++ b/src/Module/Group.php @@ -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],