aboutsummaryrefslogtreecommitdiffstats
path: root/mod/home.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2011-12-15 01:08:19 -0800
committerfriendica <info@friendica.com>2011-12-15 01:08:19 -0800
commitcb2e68c88ef6d5b50f3636066d76f5ecfe68cf13 (patch)
treef5793acd8bbd548541e1e8cd785a3fcaafa9577d /mod/home.php
parent001e4023117b23c90a791eedd5c8026c48f45667 (diff)
downloadvolse-hubzilla-cb2e68c88ef6d5b50f3636066d76f5ecfe68cf13.tar.gz
volse-hubzilla-cb2e68c88ef6d5b50f3636066d76f5ecfe68cf13.tar.bz2
volse-hubzilla-cb2e68c88ef6d5b50f3636066d76f5ecfe68cf13.zip
home_init hook
Diffstat (limited to 'mod/home.php')
-rw-r--r--mod/home.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/home.php b/mod/home.php
index 225bd294d..8db5b26ac 100644
--- a/mod/home.php
+++ b/mod/home.php
@@ -3,6 +3,8 @@
if(! function_exists('home_init')) {
function home_init(&$a) {
+ call_hooks('home_init',array());
+
if(local_user() && ($a->user['nickname']))
goaway( $a->get_baseurl() . "/profile/" . $a->user['nickname'] );