]> git.mxchange.org Git - friendica.git/blobdiff - mod/allfriends.php
Move theme selection to init() in mod/admin
[friendica.git] / mod / allfriends.php
index 7a39c481db50786353d255bce8e61f1e5491d716..5234ee8c697abe5db8a3456e25eec1349ed83559 100644 (file)
@@ -15,8 +15,6 @@ use Friendica\Module;
 use Friendica\Util\Proxy as ProxyUtils;
 
 
-require_once 'include/dba.php';
-
 function allfriends_content(App $a)
 {
        $o = '';
@@ -79,7 +77,7 @@ function allfriends_content(App $a)
                }
 
                $entry = [
-                       'url'          => $rr['url'],
+                       'url'          => Model\Contact::magicLink($rr['url']),
                        'itemurl'      => defaults($contact_details, 'addr', $rr['url']),
                        'name'         => $contact_details['name'],
                        'thumb'        => ProxyUtils::proxifyUrl($contact_details['thumb'], false, ProxyUtils::SIZE_THUMB),