X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=plugins%2FGroupPrivateMessage%2Fgroupinbox.php;h=84952d0b062cf116e73deb6fe815055de8ba13e0;hb=b6cfcfbcaa0459b39c5d581c103bfa031b2e02cd;hp=3464a1202a2cff6b01623047630031d773a578e5;hpb=31b29fde50e9664e1b70064c043879ce87553883;p=quix0rs-gnu-social.git diff --git a/plugins/GroupPrivateMessage/groupinbox.php b/plugins/GroupPrivateMessage/groupinbox.php index 3464a1202a..84952d0b06 100644 --- a/plugins/GroupPrivateMessage/groupinbox.php +++ b/plugins/GroupPrivateMessage/groupinbox.php @@ -44,7 +44,7 @@ if (!defined('STATUSNET')) { * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0 * @link http://status.net/ */ -class GroupinboxAction extends GroupDesignAction +class GroupinboxAction extends GroupAction { var $gm; @@ -76,14 +76,14 @@ class GroupinboxAction extends GroupDesignAction return false; } - $localGroup = Local_group::staticGet('nickname', $nickname); + $localGroup = Local_group::getKV('nickname', $nickname); if (empty($localGroup)) { // TRANS: Client exception thrown when trying to view group inbox for non-existing group. throw new ClientException(_m('No such group.'), 404); } - $this->group = User_group::staticGet('id', $localGroup->group_id); + $this->group = User_group::getKV('id', $localGroup->group_id); if (empty($this->group)) { // TRANS: Client exception thrown when trying to view group inbox for non-existing group.