[TASK] Use BE_USER->isAdmin() 14/54414/2
authorBenni Mack <benni@typo3.org>
Tue, 17 Oct 2017 11:02:48 +0000 (13:02 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 17 Oct 2017 11:46:30 +0000 (13:46 +0200)
commitc4cd7f10dc73d4b1d4cdf7d61490fea0f262b047
tree8c3d41a8ba1dba3394dfc7206a2a93a7f7ac0df5
parent095ed61db17e9f010b05b80c64a99ddfe04ec614
[TASK] Use BE_USER->isAdmin()

TYPO3 Core does not use isAdmin() API of BackendUsers
consistently, as there are some places where a direct
access to $BE_USER->[admin].

Resolves: #82783
Releases: master
Change-Id: I5ae42a79826a3512be8755aabb32b910f4f6c826
Reviewed-on: https://review.typo3.org/54414
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Template/DocumentTemplate.php
typo3/sysext/backend/Classes/Utility/BackendUtility.php
typo3/sysext/backend/Classes/View/PageLayoutView.php
typo3/sysext/core/Classes/Integrity/DatabaseIntegrityCheck.php
typo3/sysext/fluid/Classes/ViewHelpers/Be/PageInfoViewHelper.php
typo3/sysext/impexp/Classes/Controller/ImportExportController.php
typo3/sysext/info/Classes/Controller/InfoModuleController.php
typo3/sysext/info/Classes/Controller/TranslationStatusController.php
typo3/sysext/recycler/Classes/Utility/RecyclerUtility.php