Revert "Removed unnecessary check 'installed' system value' call."
This commit is contained in:
parent
2c6617da60
commit
0b0077e62d
|
@ -612,7 +612,7 @@ class OC_Util {
|
|||
$errors = array();
|
||||
$CONFIG_DATADIRECTORY = $config->getSystemValue('datadirectory', OC::$SERVERROOT . '/data');
|
||||
|
||||
if (!self::needUpgrade($config)) {
|
||||
if (!self::needUpgrade($config) && $config->getSystemValue('installed', false)) {
|
||||
// this check needs to be done every time
|
||||
$errors = self::checkDataDirectoryValidity($CONFIG_DATADIRECTORY);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue