Merge pull request #2861 from ujwaltrivedi/master

Get unlimited number of slabs when clearing cache keys in memcache.
This commit is contained in:
Mark Story 2014-02-18 20:46:50 -05:00
commit 3d00ca9643

View file

@ -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;