mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Update MemcacheEngine.php
removing variable assignment
This commit is contained in:
parent
91ef655854
commit
cb0580a91a
1 changed files with 2 additions and 2 deletions
|
@ -205,13 +205,13 @@ class MemcacheEngine extends CacheEngine {
|
||||||
if ($check) {
|
if ($check) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
foreach ($this->_Memcache->getExtendedStats('slabs', $limit=0) as $slabs) {
|
foreach ($this->_Memcache->getExtendedStats('slabs') as $slabs) {
|
||||||
foreach (array_keys($slabs) as $slabId) {
|
foreach (array_keys($slabs) as $slabId) {
|
||||||
if (!is_numeric($slabId)) {
|
if (!is_numeric($slabId)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($this->_Memcache->getExtendedStats('cachedump', $slabId, $limit=0) as $stats) {
|
foreach ($this->_Memcache->getExtendedStats('cachedump', $slabId, 0) as $stats) {
|
||||||
if (!is_array($stats)) {
|
if (!is_array($stats)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue