X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=actions%2Fblockedfromgroup.php;h=685d6dd06822a7d7ba49b0c95135f9bddf7eff4e;hb=cc34bb48c7243f78e198ad4d8c1806d5fe886a81;hp=07ed41e4142642d76f27b17aafeb53751915be26;hpb=cb183359e23ae7a5cfb483fa06c6c4b7a8b05fff;p=quix0rs-gnu-social.git diff --git a/actions/blockedfromgroup.php b/actions/blockedfromgroup.php index 07ed41e414..685d6dd068 100644 --- a/actions/blockedfromgroup.php +++ b/actions/blockedfromgroup.php @@ -74,7 +74,7 @@ class BlockedfromgroupAction extends GroupAction return false; } - $local = Local_group::staticGet('nickname', $nickname); + $local = Local_group::getKV('nickname', $nickname); if (!$local) { // TRANS: Client error displayed when requesting a list of blocked users for a non-local group. @@ -82,7 +82,7 @@ class BlockedfromgroupAction extends GroupAction return false; } - $this->group = User_group::staticGet('id', $local->group_id); + $this->group = User_group::getKV('id', $local->group_id); if (!$this->group) { // TRANS: Client error displayed when requesting a list of blocked users for a non-existing group. @@ -122,12 +122,6 @@ class BlockedfromgroupAction extends GroupAction _('A list of the users blocked from joining this group.')); } - function showObjectNav() - { - $nav = new GroupNav($this, $this->group); - $nav->show(); - } - function showContent() { $offset = ($this->page-1) * PROFILES_PER_PAGE;