[BUGFIX] Remove superfluous Doctrine restriction check 12/57512/4
authorBenni Mack <benni@typo3.org>
Mon, 9 Jul 2018 10:37:39 +0000 (12:37 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 9 Jul 2018 11:26:27 +0000 (13:26 +0200)
commit23e02d7f092e5fd06c98709b8c7ccab3b527919a
tree4fd80fb6fdf3cf6fb0f5cb7a9e03585970bcb689
parenta28f4cc10648968231dc05be629adc78eb7c686c
[BUGFIX] Remove superfluous Doctrine restriction check

Similar to https://review.typo3.org/#/c/57434/
the check for TSFE->showHiddenRecords is unneeded
as the RestrictionContainer evaluates this information
(now done via aspects) directly anyway.

Resolves: #85516
Releases: master
Change-Id: Icc88b1995fe603f3707c9a83e83bf03ff549422e
Reviewed-on: https://review.typo3.org/57512
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Collection/RecordCollectionRepository.php