mirror of
https://github.com/friendica/friendica
synced 2025-04-23 14:30:11 +00:00
Add missing use statements in modules classes
This commit is contained in:
parent
d2da2492b7
commit
47d9f91009
5 changed files with 5 additions and 5 deletions
|
@ -55,7 +55,7 @@ abstract class BaseAdmin extends BaseModule
|
|||
if (!Session::getLocalUser()) {
|
||||
if ($interactive) {
|
||||
DI::sysmsg()->addNotice(DI::l10n()->t('Please login to continue.'));
|
||||
Session::set('return_path', DI::args()->getQueryString());
|
||||
DI::session()->set('return_path', DI::args()->getQueryString());
|
||||
DI::baseUrl()->redirect('login');
|
||||
} else {
|
||||
throw new HTTPException\UnauthorizedException(DI::l10n()->t('Please login to continue.'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue