[prev in list] [next in list] [prev in thread] [next in thread]
List: pear-cvs
Subject: [PEAR-CVS] cvs: php4 /pear Cache.php /pear/Experimental/Cache OutputCompression.php
From: "Ulf Wendel" <ulf.wendel () phpdoc ! de>
Date: 2001-04-24 8:27:11
[Download RAW message or body]
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
/**
--
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, e-mail: pear-cvs-unsubscribe@lists.php.net
For additional commands, e-mail: pear-cvs-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic