Merge pull request #23243 from owncloud/revert-23171-master
Revert "Removed unnecessary check 'installed' system value' call."
This commit is contained in:
commit
f8180579d0
|
@ -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