aboutsummaryrefslogtreecommitdiffstats
path: root/addon/poormancron
diff options
context:
space:
mode:
authorfabrixxm <fabrix.xm@gmail.com>2011-06-18 08:29:59 +0200
committerfabrixxm <fabrix.xm@gmail.com>2011-06-18 08:29:59 +0200
commit23931ab719ca30ce0a5de4c04fd3bd83ecc9937f (patch)
tree64c9174c21ea4c6180220cfc907326bba817a74b /addon/poormancron
parent484b248f735b22e7a28f4720c3997746f5c10ced (diff)
downloadvolse-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')
-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) {
}
-
?>