From acc5ce86b056c5fe594c0d2fa3ab23f995b68cbe Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Fri, 19 May 2017 12:33:54 +0200 Subject: [PATCH] Delete appstoreurl config value when enabling market --- lib/private/Repair/Apps.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/private/Repair/Apps.php b/lib/private/Repair/Apps.php index df683a85b48a..42cc7c3fe666 100644 --- a/lib/private/Repair/Apps.php +++ b/lib/private/Repair/Apps.php @@ -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'); }