X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fgroupaction.php;h=b1a5d771979caf5c432882ada033e0eddedd3d8c;hb=d6b28c64830f632bb2f4b6f3c9369b9e56ad217a;hp=a0141a83b94e80a573cd440f53e6bb6eba570373;hpb=220b51d8be61e9bd316567f3ad03fffdbc4b7526;p=quix0rs-gnu-social.git diff --git a/lib/groupaction.php b/lib/groupaction.php index a0141a83b9..b1a5d77197 100644 --- a/lib/groupaction.php +++ b/lib/groupaction.php @@ -284,6 +284,11 @@ class GroupAction extends Action return $options; } + + function getGroup() + { + return $this->group; + } } class GroupAdminSection extends ProfileSection @@ -320,7 +325,7 @@ class GroupAdminSection extends ProfileSection class GroupMembersMiniList extends ProfileMiniList { - function newListItem($profile) + function newListItem(Profile $profile) { return new GroupMembersMiniListItem($profile, $this->action); } @@ -342,7 +347,7 @@ class GroupMembersMiniListItem extends ProfileMiniListItem class GroupBlockedMiniList extends ProfileMiniList { - function newListItem($profile) + function newListItem(Profile $profile) { return new GroupBlockedMiniListItem($profile, $this->action); }