X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fblockedfromgroup.php;h=685d6dd06822a7d7ba49b0c95135f9bddf7eff4e;hb=cc34bb48c7243f78e198ad4d8c1806d5fe886a81;hp=6ff572c05d9dea64a4723b059f9d756fe1c6a1eb;hpb=b83e7005ed9dfe8675f9fbbae00650a8c6a62511;p=quix0rs-gnu-social.git diff --git a/actions/blockedfromgroup.php b/actions/blockedfromgroup.php index 6ff572c05d..685d6dd068 100644 --- a/actions/blockedfromgroup.php +++ b/actions/blockedfromgroup.php @@ -40,7 +40,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ -class BlockedfromgroupAction extends GroupDesignAction +class BlockedfromgroupAction extends GroupAction { var $page = null; @@ -74,7 +74,7 @@ class BlockedfromgroupAction extends GroupDesignAction 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 GroupDesignAction 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 GroupDesignAction _('A list of the users blocked from joining this group.')); } - function showLocalNav() - { - $nav = new GroupNav($this, $this->group); - $nav->show(); - } - function showContent() { $offset = ($this->page-1) * PROFILES_PER_PAGE;