diff options
author | cash <cash.costello@gmail.com> | 2013-04-13 15:05:40 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2013-04-13 15:05:40 -0400 |
commit | 21c92cf39d719a913cd9e29474c04781e9cd72ef (patch) | |
tree | 5c08d5742defdd8f3a1577453c9f824930f7e92e /engine/classes/ElggLRUCache.php | |
parent | fc9a1e985b0b20c74a913f22ec9ea7e0c16848a7 (diff) | |
download | elgg-21c92cf39d719a913cd9e29474c04781e9cd72ef.tar.gz elgg-21c92cf39d719a913cd9e29474c04781e9cd72ef.tar.bz2 |
Fixes #4978 integrates LRU cache for db query cache
Diffstat (limited to 'engine/classes/ElggLRUCache.php')
-rw-r--r-- | engine/classes/ElggLRUCache.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/classes/ElggLRUCache.php b/engine/classes/ElggLRUCache.php index 90e63bb61..f51af2ed7 100644 --- a/engine/classes/ElggLRUCache.php +++ b/engine/classes/ElggLRUCache.php @@ -139,7 +139,7 @@ class ElggLRUCache implements ArrayAccess { * @param mixed $value The value to set. * @return void */ - function offsetSet($key, $value) { + public function offsetSet($key, $value) { $this->set($key, $value); } @@ -151,7 +151,7 @@ class ElggLRUCache implements ArrayAccess { * @param int|string $key The key to retrieve. * @return mixed */ - function offsetGet($key) { + public function offsetGet($key) { return $this->get($key); } @@ -163,7 +163,7 @@ class ElggLRUCache implements ArrayAccess { * @param int|string $key The key to unset. * @return void */ - function offsetUnset($key) { + public function offsetUnset($key) { $this->remove($key); } @@ -175,7 +175,7 @@ class ElggLRUCache implements ArrayAccess { * @param int|string $key A key to check for. * @return boolean */ - function offsetExists($key) { + public function offsetExists($key) { return $this->containsKey($key); } } |