Revert "[BUGFIX] Throw Exception if typo3 extension repository is not defined" 51/19651/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Sat, 6 Apr 2013 09:45:08 +0000 (11:45 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 6 Apr 2013 09:45:28 +0000 (11:45 +0200)
This reverts commit 130a840d90d99bbb27a5f3f603d6b06db933b13f

Change-Id: I7e3494ec83d0f4acb588f556970a3a91f60df904
Reviewed-on: https://review.typo3.org/19651
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/extensionmanager/Classes/Utility/Repository/Helper.php
typo3/sysext/extensionmanager/Resources/Private/Language/locallang.xlf

index 580586c..1e8551e 100644 (file)
@@ -83,12 +83,9 @@ class Helper implements \TYPO3\CMS\Core\SingletonInterface {
                $repositoryRepository = $this->objectManager->get('TYPO3\\CMS\\Extensionmanager\\Domain\\Repository\\RepositoryRepository');
                $this->extensionRepository = $this->objectManager->get('TYPO3\\CMS\\Extensionmanager\\Domain\\Repository\\ExtensionRepository');
                $repository = $repositoryRepository->findByUid(1);
-
-               if(!is_object($repository)) {
-                       throw new \TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException('The typo3.org extension repository was not found. Please go to the "Update Wizard" in the install tool and run the task "Add the default Extension Manager database tables".', 1365192900);
+               if (is_object($repository)) {
+                       $this->setRepository($repository);
                }
-
-               $this->setRepository($repository);
        }
 
        /**
index 46d21bf..0773a3e 100644 (file)
                                <source>Error</source>
                        </trans-unit>
                        <trans-unit id="report.status.mainRepository.notFound.message" xml:space="preserve">
-                               <source>The typo3.org extension repository was not found. Please go to the "Update Wizard" in the install tool and run the task "Add the default Extension Manager database tables".</source>
+                               <source>The typo3.org extension repository was not found. Please import the main typo3.org extension repository in the install tool wizard.</source>
                        </trans-unit>
                        <trans-unit id="report.status.mainRepository.notUpToDate.value" xml:space="preserve">
                                <source>Extension list is not up to date!</source>