Replace deprecated System::baseURL with App->getBaseUrl in Module\Profile
This commit is contained in:
parent
da710999e0
commit
d51b9226a6
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue