Update MemcacheEngine.php

removing variable assignment
This commit is contained in:
Ujwal Trivedi 2014-02-17 15:29:49 -05:00
parent 91ef655854
commit cb0580a91a

View file

@ -205,13 +205,13 @@ class MemcacheEngine extends CacheEngine {
if ($check) { if ($check) {
return true; return true;
} }
foreach ($this->_Memcache->getExtendedStats('slabs', $limit=0) as $slabs) { foreach ($this->_Memcache->getExtendedStats('slabs') as $slabs) {
foreach (array_keys($slabs) as $slabId) { foreach (array_keys($slabs) as $slabId) {
if (!is_numeric($slabId)) { if (!is_numeric($slabId)) {
continue; continue;
} }
foreach ($this->_Memcache->getExtendedStats('cachedump', $slabId, $limit=0) as $stats) { foreach ($this->_Memcache->getExtendedStats('cachedump', $slabId, 0) as $stats) {
if (!is_array($stats)) { if (!is_array($stats)) {
continue; continue;
} }