Skip to content
Permalink
Browse files

Update MemcacheEngine.php

removing variable assignment
  • Loading branch information...
ujwaltrivedi committed Feb 17, 2014
1 parent 91ef655 commit cb0580a91a5ee29324f2c4989470564c9a6137a4
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Cake/Cache/Engine/MemcacheEngine.php
@@ -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;
}

0 comments on commit cb0580a

Please sign in to comment.
You can’t perform that action at this time.