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
|
@ -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 New Issue
Block a user