diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2021-06-02 21:10:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-02 21:10:05 +0200 |
commit | 949102c03171c3e3a0d48d590b5a810a42ab6160 (patch) | |
tree | 444f0b44381afc44d0dac137381ac10c9170ca1b /lib | |
parent | aa40bdea0f22bffc384f25005878f1efd10dbd37 (diff) | |
parent | 92555b6014cffc955e9fdfb6f663c995a03b83a9 (diff) | |
download | nextcloud-server-949102c03171c3e3a0d48d590b5a810a42ab6160.tar.gz nextcloud-server-949102c03171c3e3a0d48d590b5a810a42ab6160.zip |
Merge pull request #27088 from nextcloud/fix/27074/removing-apps
Allow removing apps with app store disabled
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/legacy/OC_App.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/private/legacy/OC_App.php b/lib/private/legacy/OC_App.php index ed85253b649..bca0a3dd08e 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']; |