X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fhome.php;h=0320c1b3988a5b20bd2cda7fc02bf443de78a120;hb=49ad9b355c352211375247e6fcacdfd1970599ed;hp=225bd294d2fbcecce3a716060b6c8708e3f04031;hpb=878bdeccfd66b7b8229fd761c23ba13bc51c7454;p=friendica.git diff --git a/mod/home.php b/mod/home.php index 225bd294d2..0320c1b398 100644 --- a/mod/home.php +++ b/mod/home.php @@ -3,6 +3,9 @@ if(! function_exists('home_init')) { function home_init(&$a) { + $ret = array(); + call_hooks('home_init',$ret); + if(local_user() && ($a->user['nickname'])) goaway( $a->get_baseurl() . "/profile/" . $a->user['nickname'] );