Skip to content

Commit

Permalink
Delete appstoreurl config value when enabling market
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Petry committed May 19, 2017
1 parent 3121585 commit acc5ce8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/private/Repair/Apps.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ public function run(IOutput $output) {
if($isCoreUpdate && $requiresMarketEnable) {
// Then we need to enable the market app to support app updates / downloads during upgrade
$output->info('Enabling market app to assist with update');
// delete old value that might influence old APIs
if ($this->config->getSystemValue('appstoreenabled', null) !== null) {
$this->config->deleteSystemValue('appstoreenabled');
}
$this->appManager->enableApp('market');
}

Expand Down

0 comments on commit acc5ce8

Please sign in to comment.