]> git.mxchange.org Git - friendica.git/commitdiff
Probing has to be done uncached
authorMichael <heluecht@pirati.ca>
Sun, 7 May 2017 16:33:54 +0000 (16:33 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 7 May 2017 16:33:54 +0000 (16:33 +0000)
mod/contacts.php

index f2500099c3f44689b37f67b4faf3afb7320ce3dd..4f7ccd18248dfa7a6aa0f6bd787a054b8e98cd97 100644 (file)
@@ -260,7 +260,7 @@ function _contact_update_profile($contact_id) {
        if ($uid != local_user())
                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
        if ((in_array($data["network"], array(NETWORK_FEED, NETWORK_PHANTOM))) AND ($data["network"] != $r[0]["network"]))