Revert "Removed unnecessary check 'installed' system value' call."

This commit is contained in:
Lukas Reschke 2016-03-14 21:00:38 +01:00
parent 2c6617da60
commit 0b0077e62d
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}