mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +08:00
remove the check, cause i don't really know, if content has to be an array everytime
This commit is contained in:
parent
0228cfcf4a
commit
51f5b6debb
@ -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'];
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user