mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-09 00:24:27 +02: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
|
@ -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