Renamed function
This commit is contained in:
parent
1d44e544cf
commit
018abb4d1d
2 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ class Group
|
||||||
* @return array
|
* @return array
|
||||||
* @throws \Exception
|
* @throws \Exception
|
||||||
*/
|
*/
|
||||||
public static function getUngrouped(int $uid)
|
public static function listUngrouped(int $uid)
|
||||||
{
|
{
|
||||||
return q("SELECT *
|
return q("SELECT *
|
||||||
FROM `contact`
|
FROM `contact`
|
||||||
|
|
|
@ -316,7 +316,7 @@ class Group extends BaseModule
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($nogroup) {
|
if ($nogroup) {
|
||||||
$contacts = Model\Contact\Group::getUngrouped(local_user());
|
$contacts = Model\Contact\Group::listUngrouped(local_user());
|
||||||
} else {
|
} else {
|
||||||
$contacts_stmt = DBA::select('contact', [],
|
$contacts_stmt = DBA::select('contact', [],
|
||||||
['uid' => local_user(), 'pending' => false, 'blocked' => false, 'self' => false],
|
['uid' => local_user(), 'pending' => false, 'blocked' => false, 'self' => false],
|
||||||
|
|
Loading…
Reference in a new issue