summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/cache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/cache.php b/inc/cache.php
index 95b1281f..d1200919 100644
--- a/inc/cache.php
+++ b/inc/cache.php
@@ -132,7 +132,7 @@ class Cache {
case 'apc':
return apc_clear_cache('user');
case 'php':
- self::$cache[$key] = array();
+ self::$cache = array();
break;
case 'redis':
if (!self::$cache)