Replace obsolete references to App baseURL and getApp by DI

This commit is contained in:
Hypolite Petovan 2019-12-29 21:50:15 -05:00
parent 3c76826793
commit 015db25d9f
5 changed files with 9 additions and 6 deletions

View file

@ -16,7 +16,7 @@ class HoverCard extends BaseModule
{
public static function rawContent(array $parameters = [])
{
$a = self::getApp();
$a = DI::app();
if ((local_user()) && ($parameters['action'] ?? '') === 'view') {
// A logged in user views a profile of a user