[BUGFIX] Prevent Inclusion of ResourceStorage from Bootstrap 16/28416/3
authorThomas Maroschik <tmaroschik@dfau.de>
Sat, 15 Mar 2014 11:43:38 +0000 (12:43 +0100)
committerPhilipp Gampe <philipp.gampe@typo3.org>
Mon, 17 Mar 2014 21:33:24 +0000 (22:33 +0100)
commit9a735f28d04be1c293582861e336c4342a27d67f
tree58cb9088531b6b6e4b0623e6759d10b6918f2d93
parent2268f64c18b607ba39d06b1580afb0ccd786d6b1
[BUGFIX] Prevent Inclusion of ResourceStorage from Bootstrap

During bootstrapping the ResourceStorage and ResourceFactory
is loaded and evaluated just because of two constants containing
signal names used in ext_localconf. This introduces unnecessary
overhead especially in eID context.

The constants have been extracted to an interface that are way
faster parsed.

Resolves: #56335
Releases: 6.2
Change-Id: I509593d2720c595fa7e4f1c9b5c63fd09fea724c
Reviewed-on: https://review.typo3.org/28416
Reviewed-by: Wouter Wolters
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
typo3/sysext/core/Classes/Resource/ResourceFactory.php
typo3/sysext/core/Classes/Resource/ResourceFactoryInterface.php [new file with mode: 0644]
typo3/sysext/core/Classes/Resource/ResourceStorage.php
typo3/sysext/core/Classes/Resource/ResourceStorageInterface.php [new file with mode: 0644]
typo3/sysext/core/ext_localconf.php