[BUGFIX] Check for loaded EXT:version in getLiveVersionIdOfRecord 74/51074/2
authorThomas Hohn <tho@systime.dk>
Mon, 12 Dec 2016 11:41:10 +0000 (12:41 +0100)
committerNicole Cordes <typo3@cordes.co>
Fri, 30 Dec 2016 16:37:42 +0000 (17:37 +0100)
commit533e4cd841116e55241f0f04e1ea4eeb01bafdb6
treed838b424b9dfae4c6f122a7ff435ccc02d2ac94f
parentf43b53d2a0b9a3c8cab5dbca6f63fded97cf817b
[BUGFIX] Check for loaded EXT:version in getLiveVersionIdOfRecord

Omit SQL queries for each record by checking whether the "version"
extension is loaded in BackendUtility->getLiveVersionIdOfRecord()

Resolves: #78974
Releases: master, 7.6
Change-Id: If702866803d0c2b1eafc9a0c003b0e3e71c91367
Reviewed-on: https://review.typo3.org/51074
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
typo3/sysext/backend/Classes/Utility/BackendUtility.php