diff --git a/lib/private/legacy/OC_App.php b/lib/private/legacy/OC_App.php index ed85253b64..bca0a3dd08 100644 --- a/lib/private/legacy/OC_App.php +++ b/lib/private/legacy/OC_App.php @@ -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'];