From 86d6f380dcca6f6446d9ab2bc5c3d46bb8db6001 Mon Sep 17 00:00:00 2001 From: Zach Prezkuta Date: Tue, 9 Oct 2012 09:47:14 -0600 Subject: [PATCH] add home_init hook to manage to call startpage plugin --- mod/manage.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 } -- 2.39.5