Merge pull request #511 from fermionic/manage-doesnt-obey-startpage-plugin
add home_init hook to manage to call startpage plugin
This commit is contained in:
commit
551ab568ab
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue