[!!!][TASK] Deprecate FormEngine::getTSCpid() 97/35497/4
authorFrank Nägler <typo3@naegler.net>
Mon, 15 Dec 2014 19:37:34 +0000 (20:37 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Mon, 15 Dec 2014 20:12:01 +0000 (21:12 +0100)
commit783126eef5f83091c7e062309264ebca65de0e26
tree15d7b2ad8fb905fc1b124a637de54d15eec0fdac
parent0773e510ac634f0dff3ab71856f53bb0816b6ec4
[!!!][TASK] Deprecate FormEngine::getTSCpid()

Move the caching getTSCpid() method from FormEngine to
BackendUtility as getTSCpidCached, creating a general
purpose method for this case to save some db queries
if that is OK with calling code. Adapt usages and
deprecate old method within FormEngine.

Resolves: #63889
Releases: master
Change-Id: I4037a9635c8814a3db869d532ebc9f2826128157
Reviewed-on: http://review.typo3.org/35497
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/backend/Classes/Form/Element/TextElement.php
typo3/sysext/backend/Classes/Form/FormEngine.php
typo3/sysext/backend/Classes/Utility/BackendUtility.php
typo3/sysext/core/Documentation/Changelog/master/Deprecation-63889-FormEngine-getTSCpid.rst [new file with mode: 0644]