]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/handlequeued.php
Merge remote-tracking branch 'upstream/master' into social-master
[quix0rs-gnu-social.git] / scripts / handlequeued.php
index 8158849695e92cad7664051cd6edabdd7414ea83..3b272868c0023753e45ed37b9e2b885db4b79dba 100755 (executable)
@@ -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,7 +44,7 @@ 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);