summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;