1
1
Fork 0

Replace deprecated System::baseURL with App->getBaseUrl in Module\Profile

This commit is contained in:
Hypolite Petovan 2019-04-01 05:05:52 -04:00 committed by GitHub
parent da710999e0
commit d51b9226a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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),