Merge pull request #23171 from maxolasersquad/master

Removed unnecessary check 'installed' system value' call.
This commit is contained in:
Thomas Müller 2016-03-14 17:18:36 +01:00
commit 9657f9a01b
1 changed files with 1 additions and 1 deletions

View File

@ -612,7 +612,7 @@ class OC_Util {
$errors = array();
$CONFIG_DATADIRECTORY = $config->getSystemValue('datadirectory', OC::$SERVERROOT . '/data');
if (!self::needUpgrade($config) && $config->getSystemValue('installed', false)) {
if (!self::needUpgrade($config)) {
// this check needs to be done every time
$errors = self::checkDataDirectoryValidity($CONFIG_DATADIRECTORY);
}