Navigation Menu

Skip to content

Commit

Permalink
Update MemcacheEngine.php
Browse files Browse the repository at this point in the history
removed 0 from getExtendedStats('slabs') in my last commit, someone point that out in the comment. Adding it back.
  • Loading branch information
ujwaltrivedi committed Feb 18, 2014
1 parent cb0580a commit 1045a5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Cache/Engine/MemcacheEngine.php
Expand Up @@ -205,7 +205,7 @@ public function clear($check) {
if ($check) {
return true;
}
foreach ($this->_Memcache->getExtendedStats('slabs') as $slabs) {
foreach ($this->_Memcache->getExtendedStats('slabs', 0) as $slabs) {
foreach (array_keys($slabs) as $slabId) {
if (!is_numeric($slabId)) {
continue;
Expand Down

0 comments on commit 1045a5e

Please sign in to comment.