Skip to content

Commit

Permalink
Merge pull request #27956 from owncloud/appstoreenable-with-market
Browse files Browse the repository at this point in the history
Delete appstoreurl config value when enabling market
  • Loading branch information
Vincent Petry authored May 19, 2017
2 parents 84b99d8 + acc5ce8 commit 2cc8475
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 2cc8475

Please sign in to comment.