Skip to content
Snippets Groups Projects
Commit 74ee68f1 authored by Benjamin Franzke's avatar Benjamin Franzke Committed by Oliver Bartsch
Browse files

[TASK] Avoid GeneralUtility::getContainer() in ClearCacheToolbarItem

EventDispatcherInterface injection is easy here, therefore lets to
so in order to avoid the discouraged global lookup via GeneralUtility.

Also refactor to inject other dependencies.

Resolves: #95101
Releases: master
Change-Id: I4c6db4bbb5e0f10121b75cef5bd57956c093d2b1
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70883


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
parent 8e0cdb46
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment