We now use the new account-user-view (and fixed the function name)
This commit is contained in:
@@ -52,7 +52,7 @@ class Lists extends BaseApi
|
||||
|
||||
$lists = [];
|
||||
|
||||
$cdata = Contact::getPublicAndUserContacID($id, $uid);
|
||||
$cdata = Contact::getPublicAndUserContactID($id, $uid);
|
||||
if (!empty($cdata['user'])) {
|
||||
$groups = DBA::select('group_member', ['gid'], ['contact-id' => $cdata['user']]);
|
||||
while ($group = DBA::fetch($groups)) {
|
||||
|
||||
Reference in New Issue
Block a user