[TASK] Extbase (Bootstrap): Removed superfluous exception
authorSebastian Kurfürst <sebastian@typo3.org>
Tue, 21 Dec 2010 09:34:41 +0000 (09:34 +0000)
committerSebastian Kurfürst <sebastian@typo3.org>
Tue, 21 Dec 2010 09:34:41 +0000 (09:34 +0000)
typo3/sysext/extbase/Classes/Core/Bootstrap.php

index 7026608..38896a5 100644 (file)
@@ -154,7 +154,7 @@ class Tx_Extbase_Core_Bootstrap {
        public function configureObjectManager() {
                $typoScriptSetup = $this->configurationManager->getConfiguration(Tx_Extbase_Configuration_ConfigurationManagerInterface::CONFIGURATION_TYPE_FULL_TYPOSCRIPT);
                if (!is_array($typoScriptSetup['config.']['tx_extbase.']['objects.'])) {
-                       throw new RuntimeException('Object configuration was not found in "config.tx_extbase.objects". Please make sure, that the TypoScript setup is loaded', 1290623010);
+                       return;
                }
                $objectContainer = t3lib_div::makeInstance('Tx_Extbase_Object_Container_Container');
                foreach ($typoScriptSetup['config.']['tx_extbase.']['objects.'] as $classNameWithDot => $classConfiguration) {