[CLEANUP] Wrap doesRecordExist in new method 47/51447/55
authorThomas Hohn <thomas@hohn.dk>
Fri, 27 Jan 2017 11:11:45 +0000 (12:11 +0100)
committerSusanne Moog <susanne.moog@typo3.org>
Tue, 20 Jun 2017 07:08:53 +0000 (09:08 +0200)
commite22a32e79295fd52a0e0cc4ddcf1090c879fa792
treea0fc913467d5966cc4cdb3f79d705eb7505c7d8b
parent13d30c4233e93d3437b8c4cdb0a813fddf0cf4a8
[CLEANUP] Wrap doesRecordExist in new method

Wraps the functionality from doesRecordExist
in a new method recordInfoWithPermissionCheck.

The goal is a general cleanup and avoid unnecessary
calls to the database in the case where the actual
record is re-fetched from the database for processing
just after a doesRecordExist call.

Resolves: #79515
Releases: master, 8.7
Change-Id: I76d217a1690ee4b97e28b83f7591ebf8cba18e6e
Reviewed-on: https://review.typo3.org/51447
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/core/Classes/DataHandling/DataHandler.php