mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-17 04:15:15 +02:00
poormancron - proc_run executing twice, once as function; once as commandline
This commit is contained in:
parent
db03b1ab17
commit
96bcaf4331
2 changed files with 9 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue