Optical adjustments for contacts/set "last_failure" when inaccessible
This commit is contained in:
parent
721e7e410c
commit
0f563525bd
4 changed files with 23 additions and 6 deletions
|
@ -204,7 +204,8 @@ function get_contact_details_by_url($url, $uid = -1) {
|
|||
if ($r) {
|
||||
$profile = $r[0];
|
||||
|
||||
if ($profile["addr"] == "")
|
||||
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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue