forked from GNUsocial/gnu-social
Show blocked users from group in section
This commit is contained in:
@@ -209,6 +209,16 @@ class User_group extends Managed_DataObject
|
||||
return $member_count;
|
||||
}
|
||||
|
||||
function getBlockedCount()
|
||||
{
|
||||
// XXX: WORM cache this
|
||||
|
||||
$block = new Group_block();
|
||||
$block->group_id = $this->id;
|
||||
|
||||
return $block->count();
|
||||
}
|
||||
|
||||
function getAdmins($offset=0, $limit=null)
|
||||
{
|
||||
$qry =
|
||||
|
Reference in New Issue
Block a user