From bb1f3094b1a46878477d79c20bcc8cac34774556 Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 3 Nov 2008 20:33:26 +0000 Subject: Initialisation correct git-svn-id: https://code.elgg.org/elgg/trunk@2386 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/cache.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/lib/cache.php b/engine/lib/cache.php index 25205dfb1..89c522fea 100644 --- a/engine/lib/cache.php +++ b/engine/lib/cache.php @@ -167,7 +167,7 @@ * * @var unknown_type */ - private static $__cache; + public static $__cache; /** * ID of a cache to use. @@ -186,7 +186,7 @@ function __construct($cache_id = 'default') { $this->cache_id = $cache_id; - + $this->clear(); } public function save($key, $data) -- cgit v1.2.3