@@ -496,8 +496,8 @@ |
||
| 496 | 496 | { |
| 497 | 497 | $this->_memoryCachingArray[$this->_file] = $data; |
| 498 | 498 | if ($this->_memoryCachingCounter >= $this->_memoryCachingLimit) { |
| 499 | - $key = key($this->_memoryCachingArray); |
|
| 500 | - next($this->_memoryCachingArray); |
|
| 499 | + $key = key($this->_memoryCachingArray); |
|
| 500 | + next($this->_memoryCachingArray); |
|
| 501 | 501 | unset($this->_memoryCachingArray[$key]); |
| 502 | 502 | } else { |
| 503 | 503 | $this->_memoryCachingCounter = $this->_memoryCachingCounter + 1; |
@@ -381,7 +381,7 @@ |
||
| 381 | 381 | $motif = ($group) ? 'cache_' . $group . '_' : 'cache_'; |
| 382 | 382 | } |
| 383 | 383 | if ($this->_memoryCaching) { |
| 384 | - foreach($this->_memoryCachingArray as $key => $v) { |
|
| 384 | + foreach ($this->_memoryCachingArray as $key => $v) { |
|
| 385 | 385 | if (strpos($key, $motif, 0)) { |
| 386 | 386 | unset($this->_memoryCaching[$key]); |
| 387 | 387 | $this->_memoryCachingCounter = |