]> git.mxchange.org Git - friendica.git/blobdiff - include/oauth.php
App::get_baseurl is now replaced with System::baseUrl
[friendica.git] / include / oauth.php
index 61fbecb79a3e08917823d9ca0a8779b2fa718d16..ce22086d12311354e1b95a4894e8204a63e06542 100644 (file)
@@ -151,7 +151,7 @@ class FKOAuth1 extends OAuthServer {
                $_SESSION['mobile-theme'] = get_pconfig($record['uid'], 'system', 'mobile_theme');
                $_SESSION['authenticated'] = 1;
                $_SESSION['page_flags'] = $record['page-flags'];
-               $_SESSION['my_url'] = App::get_baseurl() . '/profile/' . $record['nickname'];
+               $_SESSION['my_url'] = System::baseUrl() . '/profile/' . $record['nickname'];
                $_SESSION['addr'] = $_SERVER['REMOTE_ADDR'];
                $_SESSION["allow_api"] = true;