Merge pull request #27088 from nextcloud/fix/27074/removing-apps

Allow removing apps with app store disabled
pull/26397/head
John Molakvoæ 3 years ago committed by GitHub
commit 949102c031
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save