From 385ee5a86207106408a20a3d2ec6dbeb3a313238 Mon Sep 17 00:00:00 2001 From: Fabrixxm Date: Mon, 5 Nov 2012 09:28:54 +0100 Subject: [PATCH] pass $argv & $argc as reference to *_run() functions. --- include/cronhooks.php | 2 +- include/directory.php | 2 +- include/expire.php | 2 +- include/gprobe.php | 2 +- include/onepoll.php | 2 +- include/poller.php | 2 +- include/queue.php | 2 +- util/po2php.php | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/include/cronhooks.php b/include/cronhooks.php index 37541f013e..27cf642b22 100644 --- a/include/cronhooks.php +++ b/include/cronhooks.php @@ -3,7 +3,7 @@ require_once("boot.php"); -function cronhooks_run($argv, $argc){ +function cronhooks_run(&$argv, &$argc){ global $a, $db; if(is_null($a)) { diff --git a/include/directory.php b/include/directory.php index 45386183c6..356118bb08 100644 --- a/include/directory.php +++ b/include/directory.php @@ -1,7 +1,7 @@ \n\n"; -- 2.39.5