aboutsummaryrefslogtreecommitdiffstats
path: root/addon/poormancron
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-17 18:43:17 -0700
committerFriendika <info@friendika.com>2011-08-17 18:43:17 -0700
commit96bcaf4331153d911dff6d8c7265f1a8f3f01255 (patch)
tree8de08a531d2674860cc38d8719795280f0559355 /addon/poormancron
parentdb03b1ab173d61b1ee75271dac1e48f3475ad42c (diff)
downloadvolse-hubzilla-96bcaf4331153d911dff6d8c7265f1a8f3f01255.tar.gz
volse-hubzilla-96bcaf4331153d911dff6d8c7265f1a8f3f01255.tar.bz2
volse-hubzilla-96bcaf4331153d911dff6d8c7265f1a8f3f01255.zip
poormancron - proc_run executing twice, once as function; once as commandline
Diffstat (limited to 'addon/poormancron')
-rw-r--r--addon/poormancron/poormancron.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/addon/poormancron/poormancron.php b/addon/poormancron/poormancron.php
index 7611c43be..e09182f99 100644
--- a/addon/poormancron/poormancron.php
+++ b/addon/poormancron/poormancron.php
@@ -31,7 +31,9 @@ function poormancron_hook(&$a,&$b) {
}
}
-function poormancron_procrun(&$a, $argv) {
+function poormancron_procrun(&$a, &$arr) {
+ $argv = $arr['args'];
+ $arr['run_cmd'] = false;
logger("poormancron procrun ".implode(", ",$argv));
array_shift($argv);
$argc = count($argv);