Typo fix in the new default in-process cache; spewed notice warnings on deletion, breaking XHR responses.
This commit is contained in:
parent
50185aafbb
commit
16254c14c8
|
@ -170,7 +170,7 @@ class Cache
|
||||||
$success = false;
|
$success = false;
|
||||||
|
|
||||||
if (Event::handle('StartCacheDelete', array(&$key, &$success))) {
|
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]);
|
unset($this->_items[$key]);
|
||||||
}
|
}
|
||||||
$success = true;
|
$success = true;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user