Skip to content
Snippets Groups Projects
Commit 66f13afe authored by Helmut Hummel's avatar Helmut Hummel
Browse files

[BUGFIX] Make extension update work again

This is a regression fix. The regression was
introduced when fixing the dependency handling.

Resolves: #57260
Related: #57199
Releases: 6.2
Change-Id: I77bff766d0e4bd9d3ce74fa74db03d6b65223e67
Reviewed-on: https://review.typo3.org/28730
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
parent 9b3f07e4
Branches
Tags
No related merge requests found
......@@ -69,12 +69,6 @@ class ExtensionManagementService implements \TYPO3\CMS\Core\SingletonInterface {
*/
protected $downloadUtility;
/**
* @var \TYPO3\CMS\Core\Package\PackageManager
* @inject
*/
protected $packageManager;
/**
* @param string $extensionKey
* @return void
......@@ -274,7 +268,9 @@ class ExtensionManagementService implements \TYPO3\CMS\Core\SingletonInterface {
* @return void
*/
public function downloadMainExtension(\TYPO3\CMS\Extensionmanager\Domain\Model\Extension $extension) {
if (!$this->packageManager->isPackageAvailable($extension->getExtensionKey())) {
// The extension object has a uid if the extension is not present in the system
// or an update of a present extension is triggered.
if ($extension->getUid()) {
$this->downloadUtility->download($extension);
}
}
......
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