[FOLLOWUP][BUGFIX] Add reload parameter for EM List Utility
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Classes / Updates / AbstractDownloadExtensionUpdate.php
index cfa1ebe..27793cd 100644 (file)
@@ -88,10 +88,7 @@ abstract class AbstractDownloadExtensionUpdate extends AbstractUpdate
             $extensionFileHandlingUtility = $objectManager->get(FileHandlingUtility::class);
             $extensionFileHandlingUtility->unpackExtensionFromExtensionDataArray($t3xExtracted);
 
             $extensionFileHandlingUtility = $objectManager->get(FileHandlingUtility::class);
             $extensionFileHandlingUtility->unpackExtensionFromExtensionDataArray($t3xExtracted);
 
-            // the list utility now needs to have the regenerated list of packages
-            /** @var PackageManager $packageManager */
-            $packageManager = $objectManager->get(PackageManager::class);
-            $packageManager->scanAvailablePackages();
+            // The listUtility now needs to have the regenerated list of packages
             $extensionListUtility->reloadAvailableExtensions();
         }
 
             $extensionListUtility->reloadAvailableExtensions();
         }