[TASK] Remove array duplication in T3_SERVICES
authorChristian Kuhn <lolli@schwarzbu.ch>
Mon, 22 Aug 2011 14:43:13 +0000 (16:43 +0200)
committerSusanne Moog <typo3@susannemoog.de>
Mon, 22 Aug 2011 16:51:30 +0000 (18:51 +0200)
commited70bca1ee100c50f68941a3ef56ac787e773274
tree4122e18ec186db07c93a81ebd33cde012861b909
parentae353449dc84ba81123a5015628ebc0f063de6a2
[TASK] Remove array duplication in T3_SERVICES

These informations are important for a service:

* Extension name of a service implementation (e.g. 'saltedpasswords')
* Service type (eg. 'auth')
* Class implementing the service
  (service key, e.g. 'tx_saltedpasswords_sv1').

t3lib_extMgm::addService() registers a service in global array
$T3_SERVICES[type][key].
Additionally it registers the same service as $T3_SERVICES[key][key].

The latter registration is actually never used by any other service
method in the core and can be removed to simplify this handling.

Change-Id: I2c8c53bb763b0a41e5c2488bbcef96f7e1505c9f
Resolves: #29164
Reviewed-on: http://review.typo3.org/4522
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
t3lib/class.t3lib_extmgm.php