Skip to content

Commit

Permalink
[TASK] Disable extension repository status check in composer mode
Browse files Browse the repository at this point in the history
The extension repository status check in the
reports module is now skipped in composer mode.

Resolves: #99385
Releases: main, 11.5
Change-Id: Ia3c049e1df5000045249a5308601bf2f75bf6ec9
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77137
Tested-by: Oliver Bartsch <bo@cedev.de>
Reviewed-by: Oliver Bartsch <bo@cedev.de>
Tested-by: core-ci <typo3@b13.com>
  • Loading branch information
o-ba committed Dec 16, 2022
1 parent dd4efcf commit 6f5248c
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -15,6 +15,7 @@

namespace TYPO3\CMS\Extensionmanager\Report;

use TYPO3\CMS\Core\Core\Environment;
use TYPO3\CMS\Core\Localization\LanguageService;
use TYPO3\CMS\Core\Localization\LanguageServiceFactory;
use TYPO3\CMS\Core\Utility\GeneralUtility;
Expand Down Expand Up @@ -80,7 +81,10 @@ public function __construct(RemoteRegistry $remoteRegistry = null)
public function getStatus()
{
$status = [];
$status['mainRepositoryStatus'] = $this->getMainRepositoryStatus();

if (!Environment::isComposerMode()) {
$status['mainRepositoryStatus'] = $this->getMainRepositoryStatus();
}

$extensionStatus = $this->getSecurityStatusOfExtensions();
$status['extensionsSecurityStatusInstalled'] = $extensionStatus->loaded ?? [];
Expand Down

0 comments on commit 6f5248c

Please sign in to comment.