]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/deletenotice.php
Merge branch 'remove_broken_plugins_from_default' into 'nightly'
[quix0rs-gnu-social.git] / actions / deletenotice.php
index e3690c51d4a44891829f504c09e664d8c137dbfd..eb84b4f3ae5d877281e4d205bf4ebc5fa42359b9 100644 (file)
@@ -54,7 +54,7 @@ class DeletenoticeAction extends Action
         }
 
         $notice_id    = $this->trimmed('notice');
-        $this->notice = Notice::staticGet($notice_id);
+        $this->notice = Notice::getKV($notice_id);
 
         if (!$this->notice) {
             // TRANS: Error message displayed trying to delete a non-existing notice.