]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/AnonymousFave/anonfavor.php
The overloaded DB_DataObject function staticGet is now called getKV
[quix0rs-gnu-social.git] / plugins / AnonymousFave / anonfavor.php
index f20d55a8631ebb181f90586b3e312f73a6100553..401b6a855b1a07eb0a912d96ff1e3866fe7657bf 100644 (file)
@@ -63,7 +63,7 @@ class AnonFavorAction extends RedirectingAction
         }
 
         $id     = $this->trimmed('notice');
-        $notice = Notice::staticGet($id);
+        $notice = Notice::getKV($id);
         $token  = $this->trimmed('token-' . $notice->id);
 
         if (empty($token) || $token != common_session_token()) {