[BUGFIX] Clear cache system icon is shown for non admin in dev context 25/46325/2
authorBenni Mack <benni@typo3.org>
Fri, 29 Jan 2016 08:57:49 +0000 (09:57 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Fri, 29 Jan 2016 09:19:39 +0000 (10:19 +0100)
commitfd3058283a7cd47986ec2adcab22527f0f842078
tree5dd2157846bf75bc10060097904abbd3edef880f
parent4fbed241f8d4477561b7ca1626e2917cc6c5b1a2
[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/46325
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Classes/Toolbar/ClearCacheToolbarItem.php