Merge pull request #27088 from nextcloud/fix/27074/removing-apps
Allow removing apps with app store disabled
This commit is contained in:
commit
949102c031
|
@ -460,10 +460,6 @@ class OC_App {
|
||||||
* @return string|false
|
* @return string|false
|
||||||
*/
|
*/
|
||||||
public static function getInstallPath() {
|
public static function getInstallPath() {
|
||||||
if (\OC::$server->getSystemConfig()->getValue('appstoreenabled', true) == false) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (OC::$APPSROOTS as $dir) {
|
foreach (OC::$APPSROOTS as $dir) {
|
||||||
if (isset($dir['writable']) && $dir['writable'] === true) {
|
if (isset($dir['writable']) && $dir['writable'] === true) {
|
||||||
return $dir['path'];
|
return $dir['path'];
|
||||||
|
|
Loading…
Reference in New Issue