mirror of
https://github.com/friendica/friendica
synced 2025-04-26 17:10:10 +00:00
Refactor deprecated App::isAjax() to DI::mode()->isAjax()
This commit is contained in:
parent
8e6973b774
commit
8b6e123b3f
7 changed files with 12 additions and 17 deletions
|
@ -32,7 +32,7 @@ class Details extends BaseAdminModule
|
|||
|
||||
info(L10n::t('Theme settings updated.'));
|
||||
|
||||
if ($a->isAjax()) {
|
||||
if (DI::mode()->isAjax()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ class Embed extends BaseAdminModule
|
|||
|
||||
info(L10n::t('Theme settings updated.'));
|
||||
|
||||
if ($a->isAjax()) {
|
||||
if (DI::mode()->isAjax()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue