Replace deprecated System::baseURL with App->getBaseUrl in Module\Profile
This commit is contained in:
parent
da710999e0
commit
d51b9226a6
|
@ -65,7 +65,7 @@ class Profile extends BaseModule
|
|||
// Known deleted user
|
||||
$data = [
|
||||
'@context' => ActivityPub::CONTEXT,
|
||||
'id' => System::baseUrl() . '/profile/' . self::$which,
|
||||
'id' => self::getApp()->getBaseUrl() . '/profile/' . self::$which,
|
||||
'type' => 'Tombstone',
|
||||
'published' => DateTimeFormat::utcNow(DateTimeFormat::ATOM),
|
||||
'updated' => DateTimeFormat::utcNow(DateTimeFormat::ATOM),
|
||||
|
|
Loading…
Reference in a new issue