Refactor deprecated App::isAjax() to DI::mode()->isAjax()

This commit is contained in:
nupplaPhil
2019-12-16 00:30:39 +01:00
parent 8e6973b774
commit 8b6e123b3f
7 changed files with 12 additions and 17 deletions

View File

@@ -32,7 +32,7 @@ class Details extends BaseAdminModule
info(L10n::t('Theme settings updated.'));
if ($a->isAjax()) {
if (DI::mode()->isAjax()) {
return;
}

View File

@@ -46,7 +46,7 @@ class Embed extends BaseAdminModule
info(L10n::t('Theme settings updated.'));
if ($a->isAjax()) {
if (DI::mode()->isAjax()) {
return;
}