mirror of
https://github.com/friendica/friendica
synced 2025-04-26 05:50:11 +00:00
Replace BaseObject class with DI::* calls
This commit is contained in:
parent
1de3f186d7
commit
388b963714
98 changed files with 321 additions and 440 deletions
|
@ -13,6 +13,7 @@ use Friendica\Core\Protocol;
|
|||
use Friendica\Core\Renderer;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\DI;
|
||||
use Friendica\Module\Security\Login;
|
||||
use Friendica\Model\Introduction;
|
||||
use Friendica\Model\Notify;
|
||||
|
@ -61,8 +62,7 @@ function notifications_content(App $a)
|
|||
|
||||
$json = (($a->argc > 1 && $a->argv[$a->argc - 1] === 'json') ? true : false);
|
||||
|
||||
/** @var Notify $nm */
|
||||
$nm = \Friendica\BaseObject::getClass(Notify::class);
|
||||
$nm = DI::notify();
|
||||
|
||||
$o = '';
|
||||
// Get the nav tabs for the notification pages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue