mirror of
https://github.com/friendica/friendica
synced 2025-04-25 09:10:11 +00:00
Replace init_groups_visitor with Group::getIdsByContactId
This commit is contained in:
parent
09467be02a
commit
e16852c2f5
8 changed files with 16 additions and 28 deletions
|
@ -61,7 +61,7 @@ class Group extends BaseObject
|
|||
* @param int $cid
|
||||
* @return array
|
||||
*/
|
||||
private static function getIdsByContactId($cid)
|
||||
public static function getIdsByContactId($cid)
|
||||
{
|
||||
$condition = ['contact-id' => $cid];
|
||||
$stmt = dba::select('group_member', ['gid'], $condition);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue