diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-03-15 10:40:59 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-03-15 10:40:59 +0100 |
commit | f8180579d03fcd10ab8f92f1ecb27899436c7653 (patch) | |
tree | 2c40420e7a30a808af6b96e4d5715573826e0f27 /lib | |
parent | 2c6617da60750931f6108ccee7844799fd41f521 (diff) | |
parent | 0b0077e62d389318cdce3c0b23d93e9642aa24ac (diff) | |
download | nextcloud-server-f8180579d03fcd10ab8f92f1ecb27899436c7653.tar.gz nextcloud-server-f8180579d03fcd10ab8f92f1ecb27899436c7653.zip |
Merge pull request #23243 from owncloud/revert-23171-master
Revert "Removed unnecessary check 'installed' system value' call."
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/util.php b/lib/private/util.php index 227edfcf217..6f53be8446a 100644 --- a/lib/private/util.php +++ b/lib/private/util.php @@ -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); } |