X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=scripts%2Fhandlequeued.php;h=3b272868c0023753e45ed37b9e2b885db4b79dba;hb=88055f52e6af1f49e6a0e0a03f1dcb0c2607102b;hp=9031437aac9439a1139ff3deaa30857c468ff5ae;hpb=02a6006bafd663443b512c5c283b64c7dacfbbb1;p=quix0rs-gnu-social.git diff --git a/scripts/handlequeued.php b/scripts/handlequeued.php index 9031437aac..3b272868c0 100755 --- a/scripts/handlequeued.php +++ b/scripts/handlequeued.php @@ -28,7 +28,7 @@ as if it were being run through the queue. END_OF_QUEUE_HELP; -require_once INSTALLDIR.'/scripts/commandline.inc'; +require_once INSTALLDIR.'/scripts/commandline.inc.php'; if (count($args) != 2) { show_help(); @@ -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); }