Revert "[BUGFIX] Skip main extension repository check in Composer mode" 81/51281/2
authorNicole Cordes <typo3@cordes.co>
Thu, 12 Jan 2017 09:08:51 +0000 (10:08 +0100)
committerNicole Cordes <typo3@cordes.co>
Thu, 12 Jan 2017 14:22:53 +0000 (15:22 +0100)
This reverts commit e538ed3f154f447ddbaf78785a31c9ab2ee72a17.

We do need the information about the main repository status as there is
currently no other possibility to get information about the (security)
status of extension besides the TER itself.

Resolves: #79285
Related: #79277
Releases: master, 7.6
Change-Id: Ia769dc95eaeff405f291d5929b7790a50c332a83
Reviewed-on: https://review.typo3.org/51281
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
typo3/sysext/extensionmanager/Classes/Report/ExtensionStatus.php

index ffe2bdf..e694c2f 100644 (file)
@@ -14,8 +14,6 @@ namespace TYPO3\CMS\Extensionmanager\Report;
  * The TYPO3 project - inspiring people to share!
  */
 
-use TYPO3\CMS\Core\Core\Bootstrap;
-
 /**
  * Extension status reports
  */
@@ -76,10 +74,7 @@ class ExtensionStatus implements \TYPO3\CMS\Reports\StatusProviderInterface
     public function getStatus()
     {
         $status = [];
-
-        if (!Bootstrap::usesComposerClassLoading()) {
-            $status['mainRepositoryStatus'] = $this->getMainRepositoryStatus();
-        }
+        $status['mainRepositoryStatus'] = $this->getMainRepositoryStatus();
 
         $extensionStatus = $this->getSecurityStatusOfExtensions();
         $status['extensionsSecurityStatusInstalled'] = $extensionStatus->loaded;