mirror of
https://github.com/friendica/friendica
synced 2025-05-02 04:24:22 +02:00
Replace obsolete references to App baseURL and getApp by DI
This commit is contained in:
parent
3c76826793
commit
015db25d9f
5 changed files with 9 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue