diff options
author | fabrixxm <fabrix.xm@gmail.com> | 2011-06-18 08:29:59 +0200 |
---|---|---|
committer | fabrixxm <fabrix.xm@gmail.com> | 2011-06-18 08:29:59 +0200 |
commit | 23931ab719ca30ce0a5de4c04fd3bd83ecc9937f (patch) | |
tree | 64c9174c21ea4c6180220cfc907326bba817a74b /addon/poormancron/poormancron.php | |
parent | 484b248f735b22e7a28f4720c3997746f5c10ced (diff) | |
download | volse-hubzilla-23931ab719ca30ce0a5de4c04fd3bd83ecc9937f.tar.gz volse-hubzilla-23931ab719ca30ce0a5de4c04fd3bd83ecc9937f.tar.bz2 volse-hubzilla-23931ab719ca30ce0a5de4c04fd3bd83ecc9937f.zip |
Admin: add translatable strings, remove 'rino' settings, invert 'no'-setings, add "plugin_admin" hook for global plugins settings. add settings to twitter connector as example.
Diffstat (limited to 'addon/poormancron/poormancron.php')
-rw-r--r-- | addon/poormancron/poormancron.php | 5 |
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) { } - ?> |