1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 09:12:14 +01:00

remove the check, cause i don't really know, if content has to be an array everytime

This commit is contained in:
Christian Dickmann
2002-11-24 10:15:25 +00:00
parent 0228cfcf4a
commit 51f5b6debb

View File

@@ -108,7 +108,7 @@ class PEAR_Remote extends PEAR
$this->cache = $this->getCache($args);
$cachettl = $this->config->get('cache_ttl');
// If cache is newer than $cachettl seconds, we use the cache!
if ($this->cache !== null && $this->cache['age'] < $cachettl && is_array($this->cache['content'])) {
if ($this->cache !== null && $this->cache['age'] < $cachettl) {
return $this->cache['content'];
};