Replace BaseObject class with DI::* calls
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user