aboutsummaryrefslogtreecommitdiffstats
path: root/include/account.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-18 16:59:31 -0800
committerfriendica <info@friendica.com>2014-02-18 16:59:31 -0800
commit5747e20e502cd4504aef4371b30631265579e81c (patch)
treeced1931f1dd3b4f9801e32b1900bb804b7a5a5fa /include/account.php
parent7d4916ec714d834db3493c2fc12e76b0ffdb26b2 (diff)
downloadvolse-hubzilla-5747e20e502cd4504aef4371b30631265579e81c.tar.gz
volse-hubzilla-5747e20e502cd4504aef4371b30631265579e81c.tar.bz2
volse-hubzilla-5747e20e502cd4504aef4371b30631265579e81c.zip
some more snakebite and fix up include/account - forgot about that inline array stuff
Diffstat (limited to 'include/account.php')
-rw-r--r--include/account.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/account.php b/include/account.php
index 242e6512f..1206223d9 100644
--- a/include/account.php
+++ b/include/account.php
@@ -440,7 +440,8 @@ function downgrade_accounts() {
dbesc('0000-00-00 00:00:00'),
intval($rr['account_id'])
);
- call_hooks('account_downgrade', array('account' => $rr));
+ $ret = array('account' => $rr);
+ call_hooks('account_downgrade', $ret );
logger('downgrade_accounts: Account id ' . $rr['account_id'] . ' downgraded.');
}
else {
@@ -448,8 +449,10 @@ function downgrade_accounts() {
intval(ACCOUNT_EXPIRED),
intval($rr['account_id'])
);
- call_hooks('account_downgrade', array('account' => $rr));
+ $ret = array('account' => $rr);
+ call_hooks('account_downgrade', $ret);
logger('downgrade_accounts: Account id ' . $rr['account_id'] . ' expired.');
}
}
-} \ No newline at end of file
+}
+