Remove get_app() in favor of DI::app()

This commit is contained in:
nupplaPhil 2020-01-04 23:42:01 +01:00
parent 5d20cd7e16
commit f0eea6f875
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
26 changed files with 110 additions and 97 deletions

View file

@ -12,6 +12,7 @@ use Friendica\Core\Hook;
use Friendica\Core\L10n;
use Friendica\Core\Config;
use Friendica\Core\Renderer;
use Friendica\DI;
use Friendica\Model\Contact;
use Friendica\Util\Network;
use Friendica\Util\Proxy as ProxyUtils;
@ -815,7 +816,7 @@ class HTML
*/
public static function contactBlock()
{
$a = \get_app();
$a = DI::app();
return ContactBlock::getHTML($a->profile);
}