Merge pull request #1897 from annando/3.4.2

Bugfix: Following mail accounts is now possible again
This commit is contained in:
Tobias Diekershoff
2015-09-23 06:20:49 +02:00
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;
}