Replace obsolete references to App baseURL and getApp by DI
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user