diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2019-12-16 12:34:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-16 12:34:27 +0100 |
commit | faf58e4cacf6475110e32c7e5c8f37971b641b1a (patch) | |
tree | 8d9e184401c781e1b4c95d2b369e17ef0b448f61 /apps | |
parent | 85ef2bf94429d37ad4c76860b8d9028505b3bf13 (diff) | |
parent | 3eee359d7ffd6219f6a2ab8cca18a13118552842 (diff) | |
download | nextcloud-server-faf58e4cacf6475110e32c7e5c8f37971b641b1a.tar.gz nextcloud-server-faf58e4cacf6475110e32c7e5c8f37971b641b1a.zip |
Merge pull request #17018 from nextcloud/feature/noid/allow-to-force-enable-via-cli
Allow to force enable apps via CLI
Diffstat (limited to 'apps')
-rw-r--r-- | apps/settings/lib/Controller/AppSettingsController.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/apps/settings/lib/Controller/AppSettingsController.php b/apps/settings/lib/Controller/AppSettingsController.php index e0b25240529..80ba23594a3 100644 --- a/apps/settings/lib/Controller/AppSettingsController.php +++ b/apps/settings/lib/Controller/AppSettingsController.php @@ -549,13 +549,7 @@ class AppSettingsController extends Controller { public function force(string $appId): JSONResponse { $appId = OC_App::cleanAppId($appId); - - $ignoreMaxApps = $this->config->getSystemValue('app_install_overwrite', []); - if (!in_array($appId, $ignoreMaxApps, true)) { - $ignoreMaxApps[] = $appId; - $this->config->setSystemValue('app_install_overwrite', $ignoreMaxApps); - } - + $this->appManager->ignoreNextcloudRequirementForApp($appId); return new JSONResponse(); } |