[BUGFIX] Remove unused Doctrine restriction 34/57434/2
authorBenni Mack <benni@typo3.org>
Sun, 1 Jul 2018 18:13:56 +0000 (20:13 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 2 Jul 2018 09:15:55 +0000 (11:15 +0200)
commit7f2df9c52d761f46120c1191b24d86b8e548c8e9
treef319e947e336a49d1ed999ffc537cc39443e3272
parent3e83a6b14691737118cf0fb7aa50d3ab7f80ac8a
[BUGFIX] Remove unused Doctrine restriction

During the Doctrine DBAL refactoring, an
additional check for $TSFE->sys_page->showHiddenRecords
was introduced.

First of all: This check is not needed
as the restriction container is checking for
the REAL value correctly by using
$TSFE->showHiddenRecords.

Additionally, it checks for an invalid
property on PHP object property, which
is never a good idea.

Resolves: #85446
Releases: master, 8.7
Change-Id: Ib9dd0aa0197ee7d8379110a8067c31eba2ff73e8
Reviewed-on: https://review.typo3.org/57434
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Resource/FileRepository.php