[TASK] Use magic __CLASS__ in getInstance()-methods 86/22886/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:38:17 +0000 (19:38 +0200)
commitcdf1b4eb4f0417006905f63a5d3cba5d978cbbce
tree406df0a90720f9f2bc8d577294c21de5f90f8491
parent0fb6f60df3fad544fd1f68ebe5fe5064fe20a23e
[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/22886
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