[BUGFIX] inject* methods in FAL inhibit use of Extbase object manager 82/18882/2
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:06:52 +0000 (20:06 +0100)
commit171761f51d881bb7b1d2b6560343ea89a9fb3148
tree5cd6493d217d1bcb202fb09dcb0abfcd7cda8cff
parent71686a8ac60bc0a7e39243486dd5775f43e75a21
[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/18882
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