cvs: php4 /pear/PEAR Remote.php

From: Date: Sun, 24 Nov 2002 10:15:25 +0000
Subject: cvs: php4 /pear/PEAR Remote.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-7563@lists.php.net to get a copy of this message
dickmann Sun Nov 24 05:15:25 2002 EDT Modified files: /php4/pear/PEAR Remote.php Log: remove the check, cause i don't really know, if content has to be an array everytime Index: php4/pear/PEAR/Remote.php diff -u php4/pear/PEAR/Remote.php:1.35 php4/pear/PEAR/Remote.php:1.36 --- php4/pear/PEAR/Remote.php:1.35 Sun Nov 24 05:13:57 2002 +++ php4/pear/PEAR/Remote.php Sun Nov 24 05:15:25 2002 @@ -16,7 +16,7 @@ // | Author: Stig Bakken <ssb@fast.no> | // +----------------------------------------------------------------------+ // -// $Id: Remote.php,v 1.35 2002/11/24 10:13:57 dickmann Exp $ +// $Id: Remote.php,v 1.36 2002/11/24 10:15:25 dickmann Exp $ require_once 'PEAR.php'; require_once 'PEAR/Config.php'; @@ -108,7 +108,7 @@ $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']; };

« previous php.pear.cvs (#7563) next »