X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FBookmark%2Fshowbookmark.php;h=1c562d52a8503e28e3f00aee9aec05ea4e455375;hb=2a4dc77a633cc78907934fd93200ac16d55be78e;hp=9220afffff0bb9fea1f41fef21b824ffe04aab53;hpb=e95f77d34c501d345e731ccf6bc722034d155b77;p=quix0rs-gnu-social.git diff --git a/plugins/Bookmark/showbookmark.php b/plugins/Bookmark/showbookmark.php index 9220afffff..1c562d52a8 100644 --- a/plugins/Bookmark/showbookmark.php +++ b/plugins/Bookmark/showbookmark.php @@ -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?