From d51b9226a62817ed589cd5ad4f98e1958511796a Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Mon, 1 Apr 2019 05:05:52 -0400 Subject: [PATCH] Replace deprecated System::baseURL with App->getBaseUrl in Module\Profile --- src/Module/Profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- 2.39.5