Probing has to be done uncached
This commit is contained in:
parent
eb0a701590
commit
c52b2f392f
|
@ -260,7 +260,7 @@ function _contact_update_profile($contact_id) {
|
||||||
if ($uid != local_user())
|
if ($uid != local_user())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
$data = probe_url($r[0]["url"]);
|
$data = Probe::uri($r[0]["url"], "", 0, false);
|
||||||
|
|
||||||
// "Feed" or "Unknown" is mostly a sign of communication problems
|
// "Feed" or "Unknown" is mostly a sign of communication problems
|
||||||
if ((in_array($data["network"], array(NETWORK_FEED, NETWORK_PHANTOM))) AND ($data["network"] != $r[0]["network"]))
|
if ((in_array($data["network"], array(NETWORK_FEED, NETWORK_PHANTOM))) AND ($data["network"] != $r[0]["network"]))
|
||||||
|
|
Loading…
Reference in a new issue