aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-13 08:15:46 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-13 08:15:46 +0000
commit17679198a0a19b292cef59563f28e9889891765f (patch)
tree69dbed059b52e7c0dbcd6423046d3b86662533a3 /engine
parent57c702a95fe6f5b5de43addde34734084d09599e (diff)
downloadelgg-17679198a0a19b292cef59563f28e9889891765f.tar.gz
elgg-17679198a0a19b292cef59563f28e9889891765f.tar.bz2
Closes #772: $value no longer being incorrectly set when memcache is enabled.
git-svn-id: https://code.elgg.org/elgg/trunk@2731 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/elgglib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index 9633bbeb2..cbbe1c201 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -1662,7 +1662,7 @@
static $datalist_memcache;
if ((!$datalist_memcache) && (is_memcache_available()))
$datalist_memcache = new ElggMemcache('datalist_memcache');
- if ($datalist_memcache) $value = $datalist_memcache->delete($name);
+ if ($datalist_memcache) $datalist_memcache->delete($name);
//delete_data("delete from {$CONFIG->dbprefix}datalists where name = '{$name}'");
insert_data("INSERT into {$CONFIG->dbprefix}datalists set name = '{$name}', value = '{$value}' ON DUPLICATE KEY UPDATE value='{$value}'");