[CLEANUP] Wrap doesRecordExist in new method 66/53266/4
authorThomas Hohn <thomas@hohn.dk>
Fri, 27 Jan 2017 11:11:45 +0000 (12:11 +0100)
committerMarkus Klein <markus.klein@typo3.org>
Tue, 20 Jun 2017 12:04:44 +0000 (14:04 +0200)
commit36d5d3361002964def970b5603fd89a3f03afeb0
treed61f902b6addec168a5dfa3d5271723ccff47b29
parentf470b880f3861dde12777052cd8efd1573072ace
[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/53266
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/core/Classes/DataHandling/DataHandler.php