Browse Source

Added two to-dos to do.

pull/2244/head
Michael Vogel 5 years ago
parent
commit
86da77e8ee
2 changed files with 3 additions and 0 deletions
  1. +1
    -0
      include/Contact.php
  2. +2
    -0
      include/socgraph.php

+ 1
- 0
include/Contact.php View File

@ -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"];


+ 2
- 0
include/socgraph.php View File

@ -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)


Loading…
Cancel
Save