aboutsummaryrefslogtreecommitdiffstats
path: root/addon/poormancron
diff options
context:
space:
mode:
Diffstat (limited to 'addon/poormancron')
-rw-r--r--addon/poormancron/poormancron.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/addon/poormancron/poormancron.php b/addon/poormancron/poormancron.php
index 9a8dc1e33..7611c43be 100644
--- a/addon/poormancron/poormancron.php
+++ b/addon/poormancron/poormancron.php
@@ -20,7 +20,7 @@ function poormancron_uninstall() {
-function poormancron_hook($a,&$b) {
+function poormancron_hook(&$a,&$b) {
$now = time();
$lastupdate = get_config('poormancron', 'lastupdate');
@@ -31,7 +31,7 @@ function poormancron_hook($a,&$b) {
}
}
-function poormancron_procrun($a, $argv) {
+function poormancron_procrun(&$a, $argv) {
logger("poormancron procrun ".implode(", ",$argv));
array_shift($argv);
$argc = count($argv);
@@ -43,5 +43,4 @@ function poormancron_procrun($a, $argv) {
}
-
?>