]> git.mxchange.org Git - friendica.git/commitdiff
add home_init hook to manage to call startpage plugin
authorZach Prezkuta <fermion@gmx.com>
Tue, 9 Oct 2012 15:47:14 +0000 (09:47 -0600)
committerZach Prezkuta <fermion@gmx.com>
Tue, 9 Oct 2012 15:47:14 +0000 (09:47 -0600)
mod/manage.php

index 4bc7a3baba9113860c1b2bf43a8e91deef8cd2ab..1b8e2f1e2c32a997ca0a704c312c55b6ca6aefd1 100644 (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
 }