Added two to-dos to do.
This commit is contained in:
parent
d1d7ab799c
commit
86da77e8ee
2 changed files with 3 additions and 0 deletions
|
@ -402,6 +402,7 @@ function get_contact($url, $uid = 0) {
|
||||||
$contactid = 0;
|
$contactid = 0;
|
||||||
|
|
||||||
// is it an address in the format user@server.tld?
|
// 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, "@")) {
|
if (!strstr($url, "http") OR strstr($url, "@")) {
|
||||||
$data = probe_url($url);
|
$data = probe_url($url);
|
||||||
$url = $data["url"];
|
$url = $data["url"];
|
||||||
|
|
|
@ -1560,6 +1560,8 @@ function get_gcontact_id($contact) {
|
||||||
*/
|
*/
|
||||||
function update_gcontact($contact) {
|
function update_gcontact($contact) {
|
||||||
|
|
||||||
|
/// @todo update contact table as well
|
||||||
|
|
||||||
$gcontact_id = get_gcontact_id($contact);
|
$gcontact_id = get_gcontact_id($contact);
|
||||||
|
|
||||||
if (!$gcontact_id)
|
if (!$gcontact_id)
|
||||||
|
|
Loading…
Reference in a new issue