From cb0580a91a5ee29324f2c4989470564c9a6137a4 Mon Sep 17 00:00:00 2001 From: Ujwal Trivedi Date: Mon, 17 Feb 2014 15:29:49 -0500 Subject: [PATCH] Update MemcacheEngine.php removing variable assignment --- lib/Cake/Cache/Engine/MemcacheEngine.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Cake/Cache/Engine/MemcacheEngine.php b/lib/Cake/Cache/Engine/MemcacheEngine.php index 14fccb3ec..4bd3d72f3 100644 --- a/lib/Cake/Cache/Engine/MemcacheEngine.php +++ b/lib/Cake/Cache/Engine/MemcacheEngine.php @@ -205,13 +205,13 @@ class MemcacheEngine extends CacheEngine { if ($check) { return true; } - foreach ($this->_Memcache->getExtendedStats('slabs', $limit=0) as $slabs) { + foreach ($this->_Memcache->getExtendedStats('slabs') as $slabs) { foreach (array_keys($slabs) as $slabId) { if (!is_numeric($slabId)) { continue; } - foreach ($this->_Memcache->getExtendedStats('cachedump', $slabId, $limit=0) as $stats) { + foreach ($this->_Memcache->getExtendedStats('cachedump', $slabId, 0) as $stats) { if (!is_array($stats)) { continue; }