[BUGFIX] Remove check for invalid prefix in addService
authorChristian Kuhn <lolli@schwarzbu.ch>
Mon, 22 Aug 2011 14:53:17 +0000 (16:53 +0200)
committerSusanne Moog <typo3@susannemoog.de>
Mon, 22 Aug 2011 16:57:02 +0000 (18:57 +0200)
commitb491f2402b12ecb1470793bc600085057f9fb599
tree6151d257b4d15cd48d3e2bea0e844026edde4fa7
parented70bca1ee100c50f68941a3ef56ac787e773274
[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: I078078eef5147cb267483a0d8d04ab113a24f7e9
Resolves: #29165
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/4525
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
t3lib/class.t3lib_extmgm.php