Bugfix: Following mail accounts is now possible again

This commit is contained in:
Michael Vogel
2015-09-22 22:31:22 +02:00
parent 303a59f1d0
commit 7c8c8b821a
2 changed files with 15 additions and 2 deletions

View File

@@ -819,7 +819,9 @@ function probe_url($url, $mode = PROBE_NORMAL, $level = 1) {
}
}
Cache::set("probe_url:".$mode.":".$url,serialize($result), CACHE_DAY);
// Only store into the cache if the value seems to be valid
if ($result['network'] != NETWORK_FEED)
Cache::set("probe_url:".$mode.":".$url,serialize($result), CACHE_DAY);
return $result;
}