must use named vars in plugin args
This commit is contained in:
parent
cb2e68c88e
commit
6d7781434b
1 changed files with 2 additions and 1 deletions
|
@ -3,7 +3,8 @@
|
||||||
if(! function_exists('home_init')) {
|
if(! function_exists('home_init')) {
|
||||||
function home_init(&$a) {
|
function home_init(&$a) {
|
||||||
|
|
||||||
call_hooks('home_init',array());
|
$ret = array();
|
||||||
|
call_hooks('home_init',$ret);
|
||||||
|
|
||||||
if(local_user() && ($a->user['nickname']))
|
if(local_user() && ($a->user['nickname']))
|
||||||
goaway( $a->get_baseurl() . "/profile/" . $a->user['nickname'] );
|
goaway( $a->get_baseurl() . "/profile/" . $a->user['nickname'] );
|
||||||
|
|
Loading…
Reference in a new issue