summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-01-05 17:55:57 +0000
committerSarven Capadisli <csarven@status.net>2010-01-05 17:55:57 +0000
commit99c191912d3b2c6118cac1f24d9ab68d70e48a18 (patch)
tree8a451acc604af1c7e9da1ff7451f32c54ed4cbff /lib
parentbbef517be5c4d3c7410f4278c58d71826dc41dbe (diff)
parent16254c14c8984f457b13c32d2b9bc0baedfde448 (diff)
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'lib')
-rw-r--r--lib/cache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cache.php b/lib/cache.php
index bac3499e5..85e8badc1 100644
--- a/lib/cache.php
+++ b/lib/cache.php
@@ -170,7 +170,7 @@ class Cache
$success = false;
if (Event::handle('StartCacheDelete', array(&$key, &$success))) {
- if (array_key_exists($key, $this->_items[$key])) {
+ if (array_key_exists($key, $this->_items)) {
unset($this->_items[$key]);
}
$success = true;