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; }