Skip to content
Snippets Groups Projects
Commit f8180579 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

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

Revert "Removed unnecessary check 'installed' system value' call."
parents 2c6617da 0b0077e6
No related branches found
No related tags found
No related merge requests found
...@@ -612,7 +612,7 @@ class OC_Util { ...@@ -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);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment