From 91e20f2f9b76f0e0a2c09fb2ab59bd5e34797fb5 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sat, 2 Jul 2016 13:42:42 +0200 Subject: [PATCH] Remove unused function --- boot.php | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/boot.php b/boot.php index e1c7f6b119..e9303211a2 100644 --- 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. *