Skip to content

Commit

Permalink
Merge pull request #23243 from owncloud/revert-23171-master
Browse files Browse the repository at this point in the history
Revert "Removed unnecessary check 'installed' system value' call."
  • Loading branch information
LukasReschke committed Mar 15, 2016
2 parents 2c6617d + 0b0077e commit f818057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/util.php
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ public static function checkServer(\OCP\IConfig $config) {
$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);
}
Expand Down

0 comments on commit f818057

Please sign in to comment.