mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-09 06: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
|
@ -24,7 +24,7 @@ class Group extends BaseModule
|
|||
{
|
||||
$a = DI::app();
|
||||
|
||||
if ($a->isAjax()) {
|
||||
if (DI::mode()->isAjax()) {
|
||||
self::ajaxPost();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue