<?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()) {
$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)