From: Michael Vogel Date: Wed, 13 Jan 2016 09:53:38 +0000 (+0100) Subject: Added two to-dos to do. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=86da77e8ee7da6682e16a282d57b36e8d2cefeff;p=friendica.git Added two to-dos to do. --- diff --git a/include/Contact.php b/include/Contact.php index 81692fa840..c10bb9b791 100644 --- a/include/Contact.php +++ b/include/Contact.php @@ -402,6 +402,7 @@ function get_contact($url, $uid = 0) { $contactid = 0; // is it an address in the format user@server.tld? + /// @todo use gcontact and/or the addr field for a lookup if (!strstr($url, "http") OR strstr($url, "@")) { $data = probe_url($url); $url = $data["url"]; diff --git a/include/socgraph.php b/include/socgraph.php index 00fc439b7e..a01c9c5cb0 100644 --- a/include/socgraph.php +++ b/include/socgraph.php @@ -1560,6 +1560,8 @@ function get_gcontact_id($contact) { */ function update_gcontact($contact) { + /// @todo update contact table as well + $gcontact_id = get_gcontact_id($contact); if (!$gcontact_id)