mirror of
https://github.com/friendica/friendica
synced 2024-12-23 12:40:17 +00:00
Probing has to be done uncached
This commit is contained in:
parent
eb0a701590
commit
c52b2f392f
1 changed files with 1 additions and 1 deletions
|
@ -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