aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/memcache.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-04 18:31:00 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-04 18:31:00 +0000
commit91c5d370f5df2f8ba00e45f85d18a215d17b6171 (patch)
treef1a85761b04c4b7355746155c5297fc5b579e8dc /engine/lib/memcache.php
parenta601a52eca4d5f0dad5da705f2858ff35368f605 (diff)
downloadelgg-91c5d370f5df2f8ba00e45f85d18a215d17b6171.tar.gz
elgg-91c5d370f5df2f8ba00e45f85d18a215d17b6171.tar.bz2
Removed cache clearing for now.
git-svn-id: https://code.elgg.org/elgg/trunk@2401 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/memcache.php')
-rw-r--r--engine/lib/memcache.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/engine/lib/memcache.php b/engine/lib/memcache.php
index 0b9ba917f..b8fae2ce7 100644
--- a/engine/lib/memcache.php
+++ b/engine/lib/memcache.php
@@ -182,6 +182,10 @@
public function clear()
{
+ // DISABLE clearing for now - you must use delete on a specific key.
+ return true;
+
+
foreach ($this->keys_so_far as $key => $ts)
$this->memcache->delete($key, 0);