]> git.mxchange.org Git - friendica.git/commitdiff
Replace deprecated System::baseURL with App->getBaseUrl in Module\Profile
authorHypolite Petovan <hypolite@mrpetovan.com>
Mon, 1 Apr 2019 09:05:52 +0000 (05:05 -0400)
committerGitHub <noreply@github.com>
Mon, 1 Apr 2019 09:05:52 +0000 (05:05 -0400)
src/Module/Profile.php

index a9a1fe6d09739759e7bd5a7dc06ec4ca3c743159..62598400d4a281de7768cda81a054a90e7300620 100644 (file)
@@ -65,7 +65,7 @@ class Profile extends BaseModule
                                // Known deleted user\r
                                $data = [\r
                                        '@context' => ActivityPub::CONTEXT,\r
-                                       'id' => System::baseUrl() . '/profile/' . self::$which,\r
+                                       'id' => self::getApp()->getBaseUrl() . '/profile/' . self::$which,\r
                                        'type' => 'Tombstone',\r
                                        'published' => DateTimeFormat::utcNow(DateTimeFormat::ATOM),\r
                                        'updated' => DateTimeFormat::utcNow(DateTimeFormat::ATOM),\r