[BUGFIX] inject* methods in FAL inhibit use of Extbase object manager 59/18159/3
authorAndreas Wolf <andreas.wolf@typo3.org>
Sat, 9 Feb 2013 14:49:32 +0000 (15:49 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 13 Mar 2013 19:05:06 +0000 (20:05 +0100)
commitdbc89f7c7175942c31984916a61ac11851cc9d78
treebf883b49cd6e6937755834c2215b0b97d4555a0d
parent23de4927b301a4132f86b2b43ea257fb0985bc01
[BUGFIX] inject* methods in FAL inhibit use of Extbase object manager

The ResourceStorage class of FAL has two inject* methods which are seen
as dependency injectors by the Extbase object manager. Thus an exception
is thrown when a ResourceStorage object is created via Extbase.

This commit changes the two method's names and adjust all usages within
the core. These methods are internal and I don't expect them to be used
anywhere else, so we don't need a backwards compatibility layer.

Change-Id: I4b73445708cf8041b505b5ea8923dc595ddaadb0
Resolves: #45319
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/18159
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
t3lib/class.t3lib_userauthgroup.php
typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php
typo3/sysext/core/Classes/Resource/ResourceStorage.php
typo3/sysext/core/Tests/Unit/Resource/ResourceStorageTest.php