[TASK] Deprecate custom singleton logic in GeneralUtility::getUserObj 16/40516/3
authorBenjamin Mack <benni@typo3.org>
Mon, 22 Jun 2015 05:52:13 +0000 (07:52 +0200)
committerNicole Cordes <typo3@cordes.co>
Thu, 25 Jun 2015 19:23:59 +0000 (21:23 +0200)
commita49cdd2f56f09ab204e191e46d5c331aa7de065a
tree31a06a1a4a9abb952f39f904bb92a3b14d94da87
parent56cef564b2e8881da7354861bab65ed362976925
[TASK] Deprecate custom singleton logic in GeneralUtility::getUserObj

The prepending ampersand within GeneralUtility::getUserObj($className)
is marked for removal, as the SingletonInterface pattern should be used
in general for this approach as well.

Resolves: #67670
Releases: master
Change-Id: I7b6fbfdbcd668657ac66eba5f3b21361fbe7f5ac
Reviewed-on: http://review.typo3.org/40516
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Bernhard Kraft <kraftb@think-open.at>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
typo3/sysext/core/Classes/Database/SoftReferenceIndex.php
typo3/sysext/core/Classes/Utility/GeneralUtility.php
typo3/sysext/core/Documentation/Changelog/master/Deprecation-67670-DeprecateCustomSingletonLogicInGeneralUtilitygetUserObj.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php