[BUGFIX] Remove unused Doctrine restriction 37/57437/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 10:01:55 +0000 (12:01 +0200)
commitbb8a606737710ba362f71f39a049234d49ef9728
treef1365f8104c1e9b0e556ee575edace1cbbce0fc9
parentc2bd08199301a2e9421843f5b6f73f9e3364ffa9
[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/57437
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Resource/FileRepository.php