]> git.mxchange.org Git - friendica.git/blobdiff - include/follow.php
App::get_baseurl is now replaced with System::baseUrl
[friendica.git] / include / follow.php
index 711579ff5a013c0fb543db99bdc9d3b0a4603d0e..48e23bff627dc6341b628e4b0afccc84dce6d74c 100644 (file)
@@ -1,6 +1,7 @@
 <?php
 
 use Friendica\App;
+use Friendica\Core\System;
 
 require_once 'include/probe.php';
 require_once 'include/socgraph.php';
@@ -109,7 +110,7 @@ function new_contact($uid,$url,$interactive = false) {
        if ($ret['network'] === NETWORK_DFRN) {
                if ($interactive) {
                        if (strlen($a->path)) {
-                               $myaddr = bin2hex(App::get_baseurl() . '/profile/' . $a->user['nickname']);
+                               $myaddr = bin2hex(System::baseUrl() . '/profile/' . $a->user['nickname']);
                        } else {
                                $myaddr = bin2hex($a->user['nickname'] . '@' . $a->get_hostname());
                        }