[TASK] Use magic __CLASS__ in getInstance()-methods 41/22741/2
authorStefan Neufeind <typo3.neufeind@speedpartner.de>
Thu, 1 Aug 2013 01:20:23 +0000 (03:20 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 6 Aug 2013 17:23:28 +0000 (19:23 +0200)
commit27a3e9e4c447690b2aa83e30f20c30b1a389c72c
treecf58cd91d69069eac51def3e8c130dd4bb82e439
parentac1bc673090986210794b4b2790f295e64a227f8
[TASK] Use magic __CLASS__ in getInstance()-methods

Some classes contain static getInstance()-methods that return
an instance of themselves. Instead of using the correct namespace
and classname everywhere, just use __CLASS__.

Change-Id: I22770505acded0c54b07dd0e239976ad01fdf893
Resolves: #50615
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/22741
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/core/Classes/Category/CategoryRegistry.php
typo3/sysext/core/Classes/Resource/ResourceFactory.php
typo3/sysext/form/Classes/Utility/FormUtility.php
typo3/sysext/workspaces/Classes/Hook/BackendUtilityHook.php