]> git.mxchange.org Git - friendica.git/commitdiff
Remove unused function
authorMichael Vogel <icarus@dabo.de>
Sat, 2 Jul 2016 11:42:42 +0000 (13:42 +0200)
committerMichael Vogel <icarus@dabo.de>
Sat, 2 Jul 2016 11:42:42 +0000 (13:42 +0200)
boot.php

index e1c7f6b119a77db31b0fd0693ba7677a39e57cb6..e9303211a2c8fa786e95e6a7034f20d7b3b9e311 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -1901,31 +1901,6 @@ function is_site_admin() {
        return false;
 }
 
-function load_contact_links($uid) {
-
-       $a = get_app();
-
-       $ret = array();
-
-       if(! $uid || x($a->contacts,'empty'))
-               return;
-
-       $r = q("SELECT `id`,`network`,`url`,`thumb`, `rel` FROM `contact` WHERE `uid` = %d AND `self` = 0 AND `blocked` = 0 AND `thumb` != ''",
-                       intval($uid)
-       );
-
-       if(dba::is_result($r)) {
-               foreach($r as $rr){
-                       $url = normalise_link($rr['url']);
-                       $ret[$url] = $rr;
-               }
-       } else
-               $ret['empty'] = true;
-
-       $a->contacts = $ret;
-       return;
-}
-
 /**
  * @brief Returns querystring as string from a mapped array.
  *