From 33ef309df4fea0f5160a3093fa9dcfc8af9cada8 Mon Sep 17 00:00:00 2001 From: Victor Dubiniuk Date: Mon, 24 Apr 2017 13:51:04 +0300 Subject: [PATCH] Put compatible apps at the very end --- lib/private/Repair/Apps.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/private/Repair/Apps.php b/lib/private/Repair/Apps.php index feb9adac7fd7..e0ba114c2e21 100644 --- a/lib/private/Repair/Apps.php +++ b/lib/private/Repair/Apps.php @@ -77,11 +77,6 @@ public function run(IOutput $output) { if ($isMarketEnabled) { $this->loadApp('market'); try { - $failedCompatibleApps = $this->getAppsFromMarket( - $output, - $appsToUpgrade[self::KEY_COMPATIBLE], - 'upgradeAppStoreApp' - ); $failedIncompatibleApps = $this->getAppsFromMarket( $output, $appsToUpgrade[self::KEY_INCOMPATIBLE], @@ -92,6 +87,11 @@ public function run(IOutput $output) { $appsToUpgrade[self::KEY_MISSING], 'reinstallAppStoreApp' ); + $failedCompatibleApps = $this->getAppsFromMarket( + $output, + $appsToUpgrade[self::KEY_COMPATIBLE], + 'upgradeAppStoreApp' + ); $hasNotUpdatedCompatibleApps = count($failedCompatibleApps); } catch (AppManagerException $e) { $output->warning('No connection to marketplace');