mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 08:14:25 +02:00
home_init hook
This commit is contained in:
parent
001e402311
commit
cb2e68c88e
2 changed files with 12 additions and 13 deletions
|
@ -3,6 +3,8 @@
|
|||
if(! function_exists('home_init')) {
|
||||
function home_init(&$a) {
|
||||
|
||||
call_hooks('home_init',array());
|
||||
|
||||
if(local_user() && ($a->user['nickname']))
|
||||
goaway( $a->get_baseurl() . "/profile/" . $a->user['nickname'] );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue