[BUGFIX] BackendUtility should not use PageRepository 27/52627/4
authorBenni Mack <benni@typo3.org>
Thu, 27 Apr 2017 05:07:22 +0000 (07:07 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Fri, 28 Apr 2017 07:40:37 +0000 (09:40 +0200)
commit8489652060ac5fd29fe4d3c4a0fec5b736985fe7
tree42292ea40aed30e2dec3c42226e35fa21ba79e34
parentbb835b8d2617ad3be881fc0ccbe9f6ff5b6049e3
[BUGFIX] BackendUtility should not use PageRepository

BackendUtility builds a PageRepository object to fetch a SQL query instead
of simply using the Deleted+HiddenRestriction themselves to fetch the first fe_group
record.

The PageRepository object does not even get initialized, so it can safely be exchanged.

Releases: master
Resolves: #81032
Change-Id: I4279f189c5c42c763aeeb3f519326677e94bd160
Reviewed-on: https://review.typo3.org/52627
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Classes/Utility/BackendUtility.php