Deprecation: #83094 - Annotation @flushesCaches

See Issue #85981

Description

The @flushesCaches annotation has been marked as deprecated and will be removed with TYPO3 v10. The annotation was introduced during backport from FLOW and never implemented to actually do anything useful. It will be removed without substitution.

With it, the method TYPO3\CMS\Extbase\Mvc\Cli\Command->isFlushingCaches() has been marked as deprecated and will also be removed in TYPO3 v10.

Impact

Usage of Annotation @flushesCaches and method TYPO3\CMS\Extbase\Mvc\Cli\Command->isFlushingCaches() will trigger a PHP E_USER_DEPRECATED error.

Affected Installations

All extensions that use @flushesCaches or call the method TYPO3\CMS\Extbase\Mvc\Cli\Command->isFlushingCaches().

Migration

Just remove annotation and method call. They did not do anything before.