Merge pull request from fermionic/manage-doesnt-obey-startpage-plugin

add home_init hook to manage to call startpage plugin
This commit is contained in:
fermionic 2012-10-10 07:03:49 -07:00
commit 551ab568ab

View file

@ -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
}