summaryrefslogtreecommitdiff
path: root/pear
diff options
context:
space:
mode:
authorUlf Wendel <uw@php.net>2001-12-17 11:23:33 +0000
committerUlf Wendel <uw@php.net>2001-12-17 11:23:33 +0000
commit8a4b6a79b77e592bd2472c82f8b689c16f0c6d17 (patch)
tree358697527cef237c4b02ea4508947ddd53d26a90 /pear
parent8a13c8788ee53c2f7ebb0205f82ba2f4cf756cd6 (diff)
downloadphp-git-8a4b6a79b77e592bd2472c82f8b689c16f0c6d17.tar.gz
- included PEAR.php
- flush(): consistent cache group defaults
Diffstat (limited to 'pear')
-rw-r--r--pear/Cache.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/pear/Cache.php b/pear/Cache.php
index ebb642d477..017ec4da66 100644
--- a/pear/Cache.php
+++ b/pear/Cache.php
@@ -18,7 +18,8 @@
//
// $Id$
-require_once 'Cache/Error.php';
+require_once('PEAR.php');
+require_once('Cache/Error.php');
/**
* Cache is a base class for cache implementations.
@@ -270,7 +271,7 @@ class Cache extends PEAR {
* @param string cache group, if empty all groups will be flashed
* @return integer number of removed datasets
*/
- function flush($group = '') {
+ function flush($group = 'default') {
if (!$this->caching)
return true;