Refactor deprecated App::internalRedirect() to DI::baseUrl()->redirect()

This commit is contained in:
nupplaPhil
2019-12-16 00:28:31 +01:00
parent cc9b7bb14f
commit 8e6973b774
77 changed files with 263 additions and 259 deletions

View File

@@ -47,6 +47,6 @@ class RemoveTag extends BaseModule
info('Item was not deleted');
}
$app->internalRedirect('network?file=' . rawurlencode($term));
DI::baseUrl()->redirect('network?file=' . rawurlencode($term));
}
}

View File

@@ -19,7 +19,7 @@ class SaveTag extends BaseModule
{
if (!local_user()) {
info(L10n::t('You must be logged in to use this module'));
DI::app()->internalRedirect();
DI::baseUrl()->redirect();
}
}