]> git.mxchange.org Git - friendica.git/blobdiff - mod/allfriends.php
Misspelled "detailed"
[friendica.git] / mod / allfriends.php
index 7a134a7be190346c215d5d69b53ae208a576f098..8d849d37556d8f67e6175c69f461a01ce98021a0 100644 (file)
@@ -1,11 +1,14 @@
 <?php
 
+use Friendica\App;
+use Friendica\Core\System;
+
 require_once('include/socgraph.php');
 require_once('include/Contact.php');
 require_once('include/contact_selectors.php');
 require_once('mod/contacts.php');
 
-function allfriends_content(App &$a) {
+function allfriends_content(App $a) {
 
        $o = '';
        if (! local_user()) {
@@ -63,7 +66,7 @@ function allfriends_content(App &$a) {
                        $photo_menu = contact_photo_menu ($rr);
                }
                else {
-                       $connlnk = App::get_baseurl() . '/follow/?url=' . $rr['url'];
+                       $connlnk = System::baseUrl() . '/follow/?url=' . $rr['url'];
                        $photo_menu = array(
                                'profile' => array(t("View Profile"), zrl($rr['url'])),
                                'follow' => array(t("Connect/Follow"), $connlnk)