Allow removing apps with app store disabledtags/v22.0.0beta4
@@ -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']; |