[BUGFIX] Clear cache system icon is shown for non admin in dev context 24/46324/2
authorEric Chavaillaz <eric@hemmer.ch>
Wed, 27 Jan 2016 12:54:22 +0000 (13:54 +0100)
committerBenni Mack <benni@typo3.org>
Fri, 29 Jan 2016 08:55:53 +0000 (09:55 +0100)
commitac0feb610fc4afe78687bc9aa516eaed07089838
tree7eb000db9fbc66a8777b659186c025d96df83385
parent9adaa3841bbcfeab5559ffbeaf4cde099dc17012
[BUGFIX] Clear cache system icon is shown for non admin in dev context

If the context is in development mode, the clear cache system icon
is always shown in the toolbar, even if the user is not an admin.

Resolves: #72964
Releases: master, 7.6, 6.2
Change-Id: I674df49fee14ded4b2190cca098ddf146047e5f0
Reviewed-on: https://review.typo3.org/46324
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/backend/Classes/Backend/ToolbarItems/ClearCacheToolbarItem.php