]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/profiletagbyid.php
The overloaded DB_DataObject function staticGet is now called getKV
[quix0rs-gnu-social.git] / actions / profiletagbyid.php
index 396e634abae6fa49d8c7e093c76fd1ac4b270439..f20f1bde4fc62cbcbcd6349dbc9e48e4bd0499a1 100644 (file)
@@ -60,7 +60,7 @@ class ProfiletagbyidAction extends Action
 
         common_debug("Peopletag id $id by user id $tagger_id");
 
-        $this->peopletag = Profile_list::staticGet('id', $id);
+        $this->peopletag = Profile_list::getKV('id', $id);
 
         if (!$this->peopletag) {
             // TRANS: Client error displayed trying to reference a non-existing list.
@@ -68,7 +68,7 @@ class ProfiletagbyidAction extends Action
             return false;
         }
 
-        $user = User::staticGet('id', $tagger_id);
+        $user = User::getKV('id', $tagger_id);
         if (!$user) {
             // remote peopletag, permanently redirect
             common_redirect($this->peopletag->permalink(), 301);