aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/ElggStaticVariableCache.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2013-04-13 14:54:20 -0700
committerCash Costello <cash.costello@gmail.com>2013-04-13 14:54:20 -0700
commit9f2fbbd9e64cece5e2f3f1d721a1157b739c85b7 (patch)
tree5c08d5742defdd8f3a1577453c9f824930f7e92e /engine/classes/ElggStaticVariableCache.php
parent9b526b7867a461841e4f990d4ea7945660dac18d (diff)
parent21c92cf39d719a913cd9e29474c04781e9cd72ef (diff)
downloadelgg-9f2fbbd9e64cece5e2f3f1d721a1157b739c85b7.tar.gz
elgg-9f2fbbd9e64cece5e2f3f1d721a1157b739c85b7.tar.bz2
Merge pull request #5355 from cash/oom2
Fixes the DB query cache out of memory issues
Diffstat (limited to 'engine/classes/ElggStaticVariableCache.php')
-rw-r--r--engine/classes/ElggStaticVariableCache.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/classes/ElggStaticVariableCache.php b/engine/classes/ElggStaticVariableCache.php
index 17d849400..9c14fdfba 100644
--- a/engine/classes/ElggStaticVariableCache.php
+++ b/engine/classes/ElggStaticVariableCache.php
@@ -11,7 +11,7 @@ class ElggStaticVariableCache extends ElggSharedMemoryCache {
/**
* The cache.
*
- * @var unknown_type
+ * @var array
*/
private static $__cache;
@@ -22,7 +22,7 @@ class ElggStaticVariableCache extends ElggSharedMemoryCache {
* memory, optionally with a given namespace (to avoid overlap).
*
* @param string $namespace The namespace for this cache to write to.
- * @note namespaces of the same name are shared!
+ * @warning namespaces of the same name are shared!
*/
function __construct($namespace = 'default') {
$this->setNamespace($namespace);
@@ -80,7 +80,7 @@ class ElggStaticVariableCache extends ElggSharedMemoryCache {
}
/**
- * This was probably meant to delete everything?
+ * Clears the cache for a particular namespace
*
* @return void
*/