]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Profile.php
Replace deprecated System::baseURL with App->getBaseUrl in Module\Profile
[friendica.git] / 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