Skip to content

Commit

Permalink
Update MemcacheEngine.php
Browse files Browse the repository at this point in the history
removing variable assignment
  • Loading branch information
ujwaltrivedi committed Feb 17, 2014
1 parent 91ef655 commit cb0580a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/Cache/Engine/MemcacheEngine.php
Expand Up @@ -205,13 +205,13 @@ public function clear($check) {
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;
}
Expand Down

0 comments on commit cb0580a

Please sign in to comment.