]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/disfavor.php
The overloaded DB_DataObject function staticGet is now called getKV
[quix0rs-gnu-social.git] / actions / disfavor.php
index e9fc17c5b730fd75b9faf3baaf918859d39b48ff..aa4f59857d792282fb76b300e5c9ea1e17f22a2a 100644 (file)
@@ -68,7 +68,7 @@ class DisfavorAction extends Action
             return;
         }
         $id     = $this->trimmed('notice');
-        $notice = Notice::staticGet($id);
+        $notice = Notice::getKV($id);
         $token  = $this->trimmed('token-'.$notice->id);
         if (!$token || $token != common_session_token()) {
             // TRANS: Client error displayed when the session token does not match or is not given.