add home_init hook to manage to call startpage plugin

This commit is contained in:
Zach Prezkuta 2012-10-09 09:47:14 -06:00
parent c0c8869f89
commit 86d6f380dc
1 changed files with 4 additions and 1 deletions

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
}