diff options
author | Gary Kim <gary@garykim.dev> | 2021-05-24 10:35:51 -0400 |
---|---|---|
committer | Gary Kim <gary@garykim.dev> | 2021-05-24 10:35:51 -0400 |
commit | 92555b6014cffc955e9fdfb6f663c995a03b83a9 (patch) | |
tree | 1b308881751a3639c453dbda47916406eae7e345 /lib | |
parent | ba6f5a4a2a5c661fc9deb7c37107be9f7f22ae77 (diff) | |
download | nextcloud-server-92555b6014cffc955e9fdfb6f663c995a03b83a9.tar.gz nextcloud-server-92555b6014cffc955e9fdfb6f663c995a03b83a9.zip |
Allow removing apps with app store disabled
Signed-off-by: Gary Kim <gary@garykim.dev>
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']; |