]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/unsubscribepeopletag.php
The overloaded DB_DataObject function staticGet is now called getKV
[quix0rs-gnu-social.git] / actions / unsubscribepeopletag.php
index bb53766cc1d6bafcb96ec2d99d028cd573f7b9ad..5e144ab886a0cf975156cf70ebaaab88ea13567e 100644 (file)
@@ -84,7 +84,7 @@ class UnsubscribepeopletagAction extends Action
 
         $id = intval($this->arg('id'));
         if ($id) {
-            $this->peopletag = Profile_list::staticGet('id', $id);
+            $this->peopletag = Profile_list::getKV('id', $id);
         } else {
             // TRANS: Client error displayed when trying to perform an action without providing an ID.
             $this->clientError(_('No ID given.'), 404);
@@ -97,7 +97,7 @@ class UnsubscribepeopletagAction extends Action
             return false;
         }
 
-        $this->tagger = Profile::staticGet('id', $this->peopletag->tagger);
+        $this->tagger = Profile::getKV('id', $this->peopletag->tagger);
 
         return true;
     }