]> git.mxchange.org Git - friendica.git/blobdiff - include/Contact.php
Get rid of the table "unique_contacts"
[friendica.git] / include / Contact.php
index a3cbbfed15265c765a8bd6278e1f6c160e4f76fe..3185e8734829d39b14d6c1492fde63916a90d9ee 100644 (file)
@@ -205,19 +205,6 @@ function get_contact_details_by_url($url, $uid = -1) {
                if ((($profile["addr"] == "") OR ($profile["name"] == "")) AND
                        in_array($profile["network"], array(NETWORK_DFRN, NETWORK_DIASPORA, NETWORK_OSTATUS)))
                        proc_run('php',"include/update_gcontact.php", $profile["gid"]);
-
-       } else {
-               $r = q("SELECT `url`, `name`, `nick`, `avatar` AS `photo`, `location`, `about` FROM `unique_contacts` WHERE `url` = '%s'",
-                       dbesc(normalise_link($url)));
-
-               if (count($r)) {
-                       $profile = $r[0];
-                       $profile["keywords"] = "";
-                       $profile["gender"] = "";
-                       $profile["community"] = false;
-                       $profile["network"] = "";
-                       $profile["addr"] = "";
-               }
        }
 
        // Fetching further contact data from the contact table