[TASK] Prevent gathering update information on Ter installation 92/43692/2
authorNicole Cordes <typo3@cordes.co>
Thu, 1 Oct 2015 12:32:29 +0000 (14:32 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 1 Oct 2015 18:54:23 +0000 (20:54 +0200)
Currently when the extension list from TER is fetched from the database,
all installed extensions are checked for an update. This is because the
TER extension list needs a css class for available extensions but the
wrong method is used to gather the needed information within the
ListController.

Resolves: #70264
Releases: master, 6.2
Change-Id: I99e9bfceb0bf0ed97d0bf26ae927743fd2ca86f4
Reviewed-on: http://review.typo3.org/43692
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Stephan GroƟberndt <stephan@grossberndt.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/extensionmanager/Classes/Controller/ListController.php

index 33da59d..f740d30 100644 (file)
@@ -170,7 +170,7 @@ class ListController extends AbstractController {
                } else {
                        $extensions = $this->extensionRepository->findAll();
                }
-               $availableAndInstalledExtensions = $this->listUtility->getAvailableAndInstalledExtensionsWithAdditionalInformation();
+               $availableAndInstalledExtensions = $this->listUtility->getAvailableAndInstalledExtensions($this->listUtility->getAvailableExtensions());
                $this->view->assign('extensions', $extensions)
                                ->assign('search', $search)
                                ->assign('availableAndInstalled', $availableAndInstalledExtensions);