Skip to content

Commit

Permalink
Put compatible apps at the very end
Browse files Browse the repository at this point in the history
  • Loading branch information
VicDeo authored and Vincent Petry committed Apr 24, 2017
1 parent 30b4438 commit 33ef309
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/private/Repair/Apps.php
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand All @@ -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');
Expand Down

0 comments on commit 33ef309

Please sign in to comment.