From 1045a5e0a549227078ab4578a87aaa2bde81bf0e Mon Sep 17 00:00:00 2001 From: Ujwal Trivedi Date: Tue, 18 Feb 2014 18:40:17 -0500 Subject: [PATCH] Update MemcacheEngine.php removed 0 from getExtendedStats('slabs') in my last commit, someone point that out in the comment. Adding it back. --- lib/Cake/Cache/Engine/MemcacheEngine.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Cache/Engine/MemcacheEngine.php b/lib/Cake/Cache/Engine/MemcacheEngine.php index 4bd3d72f3..8d9de0ea9 100644 --- a/lib/Cake/Cache/Engine/MemcacheEngine.php +++ b/lib/Cake/Cache/Engine/MemcacheEngine.php @@ -205,7 +205,7 @@ class MemcacheEngine extends CacheEngine { 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;