From: Ulf Wendel Date: Mon, 17 Dec 2001 11:23:33 +0000 (+0000) Subject: - included PEAR.php X-Git-Tag: PRE_ISSET_PATCH~500 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8a4b6a79b77e592bd2472c82f8b689c16f0c6d17;p=php - included PEAR.php - flush(): consistent cache group defaults --- 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;