aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-03 20:33:26 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-03 20:33:26 +0000
commitbb1f3094b1a46878477d79c20bcc8cac34774556 (patch)
treeb59c8065f957940b53c7d6b79fca5532ffc37e4c
parente17e1c6b21760a542db7abf4c236f2bdee9f3494 (diff)
downloadelgg-bb1f3094b1a46878477d79c20bcc8cac34774556.tar.gz
elgg-bb1f3094b1a46878477d79c20bcc8cac34774556.tar.bz2
Initialisation correct
git-svn-id: https://code.elgg.org/elgg/trunk@2386 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/cache.php4
1 files 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)