X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fgroupqueue.php;h=1d5a3cd1341c470c5549c021346561f685521584;hb=4e8d7795d02008ab57703c1774ddf2a67edff8bf;hp=7cc32a9c6932deaee5264eaf7c6a4de4af07a2a1;hpb=c97048d01bea468e0cf8865b60c3c250b4515c39;p=quix0rs-gnu-social.git diff --git a/actions/groupqueue.php b/actions/groupqueue.php index 7cc32a9c69..1d5a3cd134 100644 --- a/actions/groupqueue.php +++ b/actions/groupqueue.php @@ -43,7 +43,7 @@ require_once INSTALLDIR.'/lib/publicgroupnav.php'; * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ -class GroupqueueAction extends GroupDesignAction +class GroupqueueAction extends GroupAction { var $page = null; @@ -78,7 +78,7 @@ class GroupqueueAction extends GroupDesignAction return false; } - $local = Local_group::staticGet('nickname', $nickname); + $local = Local_group::getKV('nickname', $nickname); if (!$local) { // TRANS: Client error displayed when trying to view group members for a non-existing group. @@ -86,7 +86,7 @@ class GroupqueueAction 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 trying to view group members for an object that is not a group. @@ -132,12 +132,6 @@ class GroupqueueAction extends GroupDesignAction _('A list of users awaiting approval to join this group.')); } - function showObjectNav() - { - $nav = new GroupNav($this, $this->group); - $nav->show(); - } - function showContent() { $offset = ($this->page-1) * PROFILES_PER_PAGE;