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
|
// Known deleted user
|
||||||
$data = [
|
$data = [
|
||||||
'@context' => ActivityPub::CONTEXT,
|
'@context' => ActivityPub::CONTEXT,
|
||||||
'id' => System::baseUrl() . '/profile/' . self::$which,
|
'id' => self::getApp()->getBaseUrl() . '/profile/' . self::$which,
|
||||||
'type' => 'Tombstone',
|
'type' => 'Tombstone',
|
||||||
'published' => DateTimeFormat::utcNow(DateTimeFormat::ATOM),
|
'published' => DateTimeFormat::utcNow(DateTimeFormat::ATOM),
|
||||||
'updated' => DateTimeFormat::utcNow(DateTimeFormat::ATOM),
|
'updated' => DateTimeFormat::utcNow(DateTimeFormat::ATOM),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user