TYPO3-coreapi / ext-coreapi

http://forge.typo3.org/projects/show/extension-coreapi
61 stars 38 forks source link

Bug in clearAllExceptPageCache #124

Open pserrer opened 7 years ago

pserrer commented 7 years ago

Currently there's big bug in the clearAllExceptPageCache method.

Instead of clearing all caches expect cache_pages and cache_pagesection, it clears all caches, because the $toBeFlushed var is never used inside the foreach loop.

I would suggest to change line 163 to this:

foreach ($toBeFlushedas $cacheKey) {