Allow removing apps with app store disabled

Signed-off-by: Gary Kim <gary@garykim.dev>
This commit is contained in:
Gary Kim 2021-05-24 10:35:51 -04:00
parent ba6f5a4a2a
commit 92555b6014
No known key found for this signature in database
GPG Key ID: 9349B59FB54594AC
1 changed files with 0 additions and 4 deletions

View File

@ -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'];