From 96bcaf4331153d911dff6d8c7265f1a8f3f01255 Mon Sep 17 00:00:00 2001 From: Friendika Date: Wed, 17 Aug 2011 18:43:17 -0700 Subject: poormancron - proc_run executing twice, once as function; once as commandline --- addon/poormancron/poormancron.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'addon/poormancron/poormancron.php') 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); -- cgit v1.2.3