]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/GroupPrivateMessage/groupinbox.php
The overloaded DB_DataObject function staticGet is now called getKV
[quix0rs-gnu-social.git] / plugins / GroupPrivateMessage / groupinbox.php
index b6308c663f9382d9e0efc42b3577cc2b263ec883..84952d0b062cf116e73deb6fe815055de8ba13e0 100644 (file)
@@ -76,14 +76,14 @@ class GroupinboxAction extends GroupAction
             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.