From: Hypolite Petovan Date: Mon, 1 Apr 2019 09:05:52 +0000 (-0400) Subject: Replace deprecated System::baseURL with App->getBaseUrl in Module\Profile X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d51b9226a62817ed589cd5ad4f98e1958511796a;p=friendica.git Replace deprecated System::baseURL with App->getBaseUrl in Module\Profile --- diff --git a/src/Module/Profile.php b/src/Module/Profile.php index a9a1fe6d09..62598400d4 100644 --- a/src/Module/Profile.php +++ b/src/Module/Profile.php @@ -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),