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

Allow removing apps with app store disabled
This commit is contained in:
John Molakvoæ 2021-06-02 21:10:05 +02:00 committed by GitHub
commit 949102c031
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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'];