[BUGFIX] Remove check for invalid prefix in addService
authorChristian Kuhn <lolli@schwarzbu.ch>
Mon, 22 Aug 2011 14:53:17 +0000 (16:53 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 22 Aug 2011 17:41:59 +0000 (19:41 +0200)
commitb0df3a2469647f8802515b8abb98ad775eeff79a
tree883dc104040657d70b9ca8b793bc103c937567d2
parent26634386e1f76db86578d02442cab2f4e5fe174e
[BUGFIX] Remove check for invalid prefix in addService

t3lib_extMgm::addService() checks that $serviceType (eg. 'auth') does not start
with a valid class prefix. While it is probably not a good idea to prefix a
service type with 'user_' or 'tx_', there is no technical reason to enforce
this. The check especially leads to problems if
TYPO3_CONF_VARS['FE']['userFuncClassPrefix'] is set to an empty string.
This patch removes the check.

Change-Id: Iaf60da0eae61a2c64bb4626f5629b8c262d00cc2
Resolves: #29165
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/4528
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
t3lib/class.t3lib_extmgm.php