]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Bookmark/showbookmark.php
The overloaded DB_DataObject function staticGet is now called getKV
[quix0rs-gnu-social.git] / plugins / Bookmark / showbookmark.php
index 9220afffff0bb9fea1f41fef21b824ffe04aab53..1c562d52a8503e28e3f00aee9aec05ea4e455375 100644 (file)
@@ -52,14 +52,14 @@ class ShowbookmarkAction extends ShownoticeAction
     {
         $this->id = $this->trimmed('id');
 
-        $this->bookmark = Bookmark::staticGet('id', $this->id);
+        $this->bookmark = Bookmark::getKV('id', $this->id);
 
         if (empty($this->bookmark)) {
             // TRANS: Client exception thrown when referring to a non-existing bookmark.
             throw new ClientException(_m('No such bookmark.'), 404);
         }
 
-        $notice = Notice::staticGet('uri', $this->bookmark->uri);
+        $notice = Notice::getKV('uri', $this->bookmark->uri);
 
         if (empty($notice)) {
             // Did we used to have it, and it got deleted?