mirror of
https://github.com/friendica/friendica
synced 2025-04-23 22:30:10 +00:00
Split goaway to System::externalRedirectTo() and App->internalRedirect()
This commit is contained in:
parent
2ef81108b3
commit
d00ddc01af
61 changed files with 286 additions and 266 deletions
|
@ -16,11 +16,11 @@ function home_init(App $a) {
|
|||
Addon::callHooks('home_init',$ret);
|
||||
|
||||
if (local_user() && ($a->user['nickname'])) {
|
||||
$a->redirect('network');
|
||||
$a->internalRedirect('network');
|
||||
}
|
||||
|
||||
if (strlen(Config::get('system','singleuser'))) {
|
||||
$a->redirect('profile/' . Config::get('system','singleuser'));
|
||||
$a->internalRedirect('profile/' . Config::get('system','singleuser'));
|
||||
}
|
||||
|
||||
}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue