Merge pull request #23243 from owncloud/revert-23171-master

Revert "Removed unnecessary check 'installed' system value' call."
This commit is contained in:
Lukas Reschke 2016-03-15 10:40:59 +01:00
commit f8180579d0
1 changed files with 1 additions and 1 deletions

View File

@ -612,7 +612,7 @@ class OC_Util {
$errors = array(); $errors = array();
$CONFIG_DATADIRECTORY = $config->getSystemValue('datadirectory', OC::$SERVERROOT . '/data'); $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 // this check needs to be done every time
$errors = self::checkDataDirectoryValidity($CONFIG_DATADIRECTORY); $errors = self::checkDataDirectoryValidity($CONFIG_DATADIRECTORY);
} }