]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/atompubshowfavorite.php
The overloaded DB_DataObject function staticGet is now called getKV
[quix0rs-gnu-social.git] / actions / atompubshowfavorite.php
index 1727e0c3cf9499e7935ba61fbed13db0cda0c88a..d8f371a39cedd4b2a15da12a1753949e75ab08fb 100644 (file)
@@ -68,14 +68,14 @@ class AtompubshowfavoriteAction extends ApiAuthAction
         $profileId = $this->trimmed('profile');
         $noticeId  = $this->trimmed('notice');
 
-        $this->_profile = Profile::staticGet('id', $profileId);
+        $this->_profile = Profile::getKV('id', $profileId);
 
         if (empty($this->_profile)) {
             // TRANS: Client exception.
             throw new ClientException(_('No such profile.'), 404);
         }
 
-        $this->_notice = Notice::staticGet('id', $noticeId);
+        $this->_notice = Notice::getKV('id', $noticeId);
 
         if (empty($this->_notice)) {
             // TRANS: Client exception thrown when referencing a non-existing notice.