aboutsummaryrefslogtreecommitdiffstats
path: root/addon/poormancron/poormancron.php
diff options
context:
space:
mode:
Diffstat (limited to 'addon/poormancron/poormancron.php')
-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);