X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=scripts%2Fhandlequeued.php;h=eb7d8297136cdb3dd461752d0ca8bc65439120c1;hb=2e77cbfa8672b2d93ea5058930179fd1bbabd2ab;hp=9031437aac9439a1139ff3deaa30857c468ff5ae;hpb=fdb64eed2f1d24ad38fe4a6bc680e3592647c0a6;p=quix0rs-gnu-social.git diff --git a/scripts/handlequeued.php b/scripts/handlequeued.php index 9031437aac..eb7d829713 100755 --- a/scripts/handlequeued.php +++ b/scripts/handlequeued.php @@ -44,13 +44,13 @@ if (!$handler) { exit(1); } -$notice = Notice::staticGet('id', $noticeId); +$notice = Notice::getKV('id', $noticeId); if (empty($notice)) { print "Invalid notice id $noticeId\n"; exit(1); } -if (!$handler->handle_notice($notice)) { +if (!$handler->handle($notice)) { print "Failed to handle notice id $noticeId on queue '$queue'.\n"; exit(1); }