]> git.mxchange.org Git - friendica.git/blobdiff - mod/xrd.php
Merge pull request #5862 from nupplaphil/rename_App_Methods
[friendica.git] / mod / xrd.php
index 6a5fdbbdb9257b78476789762bd99b5774fa25ab..2626b0c791a1d156b7a913808bf9d7ba09d1b1ae 100644 (file)
@@ -55,9 +55,9 @@ function xrd_init(App $a)
 
        $alias = str_replace('/profile/', '/~', $profile_url);
 
-       $addr = 'acct:'.$user['nickname'].'@'.$a->get_hostname();
-       if ($a->get_path()) {
-               $addr .= '/'.$a->get_path();
+       $addr = 'acct:'.$user['nickname'].'@'.$a->getHostName();
+       if ($a->getURLPath()) {
+               $addr .= '/'.$a->getURLPath();
        }
 
        if ($mode == 'xml') {