aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Daemon
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-02-05 16:08:01 -0800
committerzotlabs <mike@macgirvin.com>2018-02-05 16:08:01 -0800
commitb06c52553d1fee69062b533a46b80190d9b4b350 (patch)
tree1016e766205baef65ff84707e5ecf2419b0ac3c6 /Zotlabs/Daemon
parent930e1fdbdc798868760f8a4e03f32fc3f42e8bc9 (diff)
downloadvolse-hubzilla-b06c52553d1fee69062b533a46b80190d9b4b350.tar.gz
volse-hubzilla-b06c52553d1fee69062b533a46b80190d9b4b350.tar.bz2
volse-hubzilla-b06c52553d1fee69062b533a46b80190d9b4b350.zip
fix manual queue invocation (was using the web argc/argv from the cli)
Diffstat (limited to 'Zotlabs/Daemon')
-rw-r--r--Zotlabs/Daemon/Queue.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Daemon/Queue.php b/Zotlabs/Daemon/Queue.php
index 17d150250..8f529ff13 100644
--- a/Zotlabs/Daemon/Queue.php
+++ b/Zotlabs/Daemon/Queue.php
@@ -13,10 +13,10 @@ class Queue {
require_once('include/bbcode.php');
- if(argc() > 1)
- $queue_id = argv(1);
+ if($argc > 1)
+ $queue_id = $argv[1];
else
- $queue_id = 0;
+ $queue_id = EMPTY_STR;
logger('queue: start');