From: Zach Prezkuta Date: Tue, 9 Oct 2012 15:47:14 +0000 (-0600) Subject: add home_init hook to manage to call startpage plugin X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=86d6f380dcca6f6446d9ab2bc5c3d46bb8db6001;p=friendica.git add home_init hook to manage to call startpage plugin --- diff --git a/mod/manage.php b/mod/manage.php index 4bc7a3baba..1b8e2f1e2c 100644 --- a/mod/manage.php +++ b/mod/manage.php @@ -75,7 +75,10 @@ function manage_post(&$a) { if($limited_id) $_SESSION['submanage'] = $original_id; - goaway($a->get_baseurl(true) . '/profile/' . $a->user['nickname']); + $ret = array(); + call_hooks('home_init',$ret); + + goaway( $a->get_baseurl() . "/profile/" . $a->user['nickname'] ); // NOTREACHED }