mirror of
https://github.com/friendica/friendica
synced 2025-04-19 09:50:11 +00:00
Refactor deprecated App::internalRedirect() to DI::baseUrl()->redirect()
This commit is contained in:
parent
cc9b7bb14f
commit
8e6973b774
77 changed files with 263 additions and 259 deletions
|
@ -56,7 +56,7 @@ abstract class BaseAdminModule extends BaseModule
|
|||
if (!is_site_admin()) {
|
||||
notice(L10n::t('Please login to continue.'));
|
||||
Session::set('return_path', $a->query_string);
|
||||
$a->internalRedirect('login');
|
||||
DI::baseUrl()->redirect('login');
|
||||
}
|
||||
|
||||
if (!empty($_SESSION['submanage'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue