add home_init hook to manage to call startpage plugin
This commit is contained in:
parent
c0c8869f89
commit
86d6f380dc
1 changed files with 4 additions and 1 deletions
|
@ -75,7 +75,10 @@ function manage_post(&$a) {
|
||||||
if($limited_id)
|
if($limited_id)
|
||||||
$_SESSION['submanage'] = $original_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
|
// NOTREACHED
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue