Browse Source

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

pull/6957/head
Hypolite Petovan 2 years ago
committed by GitHub
parent
commit
d51b9226a6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Module/Profile.php

+ 1
- 1
src/Module/Profile.php 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),


Loading…
Cancel
Save