Revert "[BUGFIX] Throw Exception if typo3 extension repository is not defined" 54/19654/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Sat, 6 Apr 2013 10:07:38 +0000 (12:07 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 6 Apr 2013 10:07:50 +0000 (12:07 +0200)
This reverts commit c24f31bb6aa426ffaab6861bc44c0e3c440c8b19

Change-Id: Iab42d03d47ae0d8478414bec4d546a91f9d31ffc
Reviewed-on: https://review.typo3.org/19654
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 5122043..31da986 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>