Skip to content
Snippets Groups Projects
Commit 6f5248cb authored by Oliver Bartsch's avatar Oliver Bartsch
Browse files

[TASK] Disable extension repository status check in composer mode

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: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
parent dd4efcf9
Branches
Tags
No related merge requests found
......@@ -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;
......@@ -80,7 +81,10 @@ class ExtensionStatus implements StatusProviderInterface
public function getStatus()
{
$status = [];
$status['mainRepositoryStatus'] = $this->getMainRepositoryStatus();
if (!Environment::isComposerMode()) {
$status['mainRepositoryStatus'] = $this->getMainRepositoryStatus();
}
$extensionStatus = $this->getSecurityStatusOfExtensions();
$status['extensionsSecurityStatusInstalled'] = $extensionStatus->loaded ?? [];
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment