]> git.mxchange.org Git - friendica.git/blobdiff - src/Network/Probe.php
Issue-#3873
[friendica.git] / src / Network / Probe.php
index 8ea7d660aeb688dcfdc6b1268b10e8321e88126e..488beaa1f5d64b36ca58396ee5d7673e3ddf15a1 100644 (file)
@@ -11,6 +11,7 @@ namespace Friendica\Network;
 use Friendica\App;
 use Friendica\Core\System;
 use Friendica\Core\Config;
+use Friendica\Network\Probe;
 
 use dba;
 use dbm;
@@ -309,7 +310,7 @@ class Probe {
        public static function uri($uri, $network = "", $uid = -1, $cache = true) {
 
                if ($cache) {
-                       $result = Cache::get("probe_url:".$network.":".$uri);
+                       $result = Cache::get("Probe::uri:".$network.":".$uri);
                        if (!is_null($result)) {
                                return $result;
                        }
@@ -361,7 +362,7 @@ class Probe {
 
                // Only store into the cache if the value seems to be valid
                if (!in_array($data['network'], array(NETWORK_PHANTOM, NETWORK_MAIL))) {
-                       Cache::set("probe_url:".$network.":".$uri, $data, CACHE_DAY);
+                       Cache::set("Probe::uri:".$network.":".$uri, $data, CACHE_DAY);
 
                        /// @todo temporary fix - we need a real contact update function that updates only changing fields
                        /// The biggest problem is the avatar picture that could have a reduced image size.