]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/OStatus/actions/groupsalmon.php
The overloaded DB_DataObject function staticGet is now called getKV
[quix0rs-gnu-social.git] / plugins / OStatus / actions / groupsalmon.php
index 0a43c37237ff2942e1726f78d4f8b636b9366319..14e66f5ca008f481f0abc06a99cef9308949a681 100644 (file)
@@ -40,7 +40,7 @@ class GroupsalmonAction extends SalmonAction
             $this->clientError(_m('No ID.'));
         }
 
-        $this->group = User_group::staticGet('id', $id);
+        $this->group = User_group::getKV('id', $id);
 
         if (empty($this->group)) {
             // TRANS: Client error.
@@ -50,7 +50,7 @@ class GroupsalmonAction extends SalmonAction
 
         $this->target = $this->group;
 
-        $oprofile = Ostatus_profile::staticGet('group_id', $id);
+        $oprofile = Ostatus_profile::getKV('group_id', $id);
         if ($oprofile) {
             // TRANS: Client error.
             $this->clientError(_m('Cannot accept remote posts for a remote group.'));