cvs: php4 /pear Cache.php /pear/Experimental/Cache OutputCompression.php

From: Date: Tue, 24 Apr 2001 08:27:11 +0000
Subject: cvs: php4 /pear Cache.php /pear/Experimental/Cache OutputCompression.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-85@lists.php.net to get a copy of this message
uw Tue Apr 24 01:27:11 2001 EDT Modified files: /php4/pear Cache.php /php4/pear/Experimental/Cache OutputCompression.php Log: Made Cache::save() a wrapper for Cache::extSave() Index: php4/pear/Cache.php diff -u php4/pear/Cache.php:1.10 php4/pear/Cache.php:1.11 --- php4/pear/Cache.php:1.10 Thu Apr 19 04:04:01 2001 +++ php4/pear/Cache.php Tue Apr 24 01:27:11 2001 @@ -16,7 +16,7 @@ // | Sebastian Bergmann <sb@sebastian-bergmann.de> | // +----------------------------------------------------------------------+ // -// $Id: Cache.php,v 1.10 2001/04/19 11:04:01 uw Exp $ +// $Id: Cache.php,v 1.11 2001/04/24 08:27:11 uw Exp $ require_once "Cache/Error.php"; @@ -58,7 +58,7 @@ * bad circumstances (especially with the file container) * * @author Ulf Wendel <ulf.wendel@phpdoc.de> -* @version $Id: Cache.php,v 1.10 2001/04/19 11:04:01 uw Exp $ +* @version $Id: Cache.php,v 1.11 2001/04/24 08:27:11 uw Exp $ * @package Cache * @access public */ @@ -173,7 +173,7 @@ if ($this->no_cache) return true; - return $this->container->save($id, $data, $expires, $group, ""); + return $this->extSave($id, $data, "",$expires, $group); } // end func save /** Index: php4/pear/Experimental/Cache/OutputCompression.php diff -u php4/pear/Experimental/Cache/OutputCompression.php:1.3 php4/pear/Experimental/Cache/OutputCompression.php:1.4 --- php4/pear/Experimental/Cache/OutputCompression.php:1.3 Mon Apr 23 11:32:55 2001 +++ php4/pear/Experimental/Cache/OutputCompression.php Tue Apr 24 01:27:11 2001 @@ -23,7 +23,7 @@ * * Based upon a case study from Christian Stocker and inspired by jpcache. * -* @version $Id: OutputCompression.php,v 1.3 2001/04/23 18:32:55 uw Exp $ +* @version $Id: OutputCompression.php,v 1.4 2001/04/24 08:27:11 uw Exp $ * @author Ulf Wendel <ulf.wendel@phpdoc.de>, Christian Stocker <chregu@nomad.ch> * @access public * @package Cache @@ -117,18 +117,6 @@ function endPrint($expire = 0, $userdata = "") { $this->printContent($this->end($expire, $userdata)); } // end func endPrint - - - /** - * Saves the given data to the cache. - * - */ - function save($id, $data, $expires = 0, $group = "default") { - if ($this->no_cache) - return true; - - return $this->extSave($id, $data, "", $expires, $group); - } // end func save /**

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