From 92555b6014cffc955e9fdfb6f663c995a03b83a9 Mon Sep 17 00:00:00 2001 From: Gary Kim Date: Mon, 24 May 2021 10:35:51 -0400 Subject: [PATCH] Allow removing apps with app store disabled Signed-off-by: Gary Kim --- lib/private/legacy/OC_App.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/private/legacy/OC_App.php b/lib/private/legacy/OC_App.php index ed85253b64..bca0a3dd08 100644 --- a/lib/private/legacy/OC_App.php +++ b/lib/private/legacy/OC_App.php @@ -460,10 +460,6 @@ class OC_App { * @return string|false */ public static function getInstallPath() { - if (\OC::$server->getSystemConfig()->getValue('appstoreenabled', true) == false) { - return false; - } - foreach (OC::$APPSROOTS as $dir) { if (isset($dir['writable']) && $dir['writable'] === true) { return $dir['path'];