From 17679198a0a19b292cef59563f28e9889891765f Mon Sep 17 00:00:00 2001 From: marcus Date: Fri, 13 Feb 2009 08:15:46 +0000 Subject: 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 --- engine/lib/elgglib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine') 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}'"); -- cgit v1.2.3