From 8a4b6a79b77e592bd2472c82f8b689c16f0c6d17 Mon Sep 17 00:00:00 2001 From: Ulf Wendel Date: Mon, 17 Dec 2001 11:23:33 +0000 Subject: - included PEAR.php - flush(): consistent cache group defaults --- pear/Cache.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pear') 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; -- cgit v1.2.1