mirror of
https://github.com/friendica/friendica
synced 2025-04-25 07:50:10 +00:00
Renamed System::redirect() to $a->redirect()
This commit is contained in:
parent
c46caeb0d3
commit
2ef81108b3
62 changed files with 269 additions and 253 deletions
|
@ -16,11 +16,11 @@ function home_init(App $a) {
|
|||
Addon::callHooks('home_init',$ret);
|
||||
|
||||
if (local_user() && ($a->user['nickname'])) {
|
||||
goaway(System::baseUrl()."/network");
|
||||
$a->redirect('network');
|
||||
}
|
||||
|
||||
if (strlen(Config::get('system','singleuser'))) {
|
||||
goaway(System::baseUrl()."/profile/" . Config::get('system','singleuser'));
|
||||
$a->redirect('profile/' . Config::get('system','singleuser'));
|
||||
}
|
||||
|
||||
}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue