aboutsummaryrefslogtreecommitdiffstats
path: root/mod/home.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/home.php')
-rw-r--r--mod/home.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/home.php b/mod/home.php
index 225bd294d..0320c1b39 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'] );