Merge pull request #23171 from maxolasersquad/master
Removed unnecessary check 'installed' system value' call.
This commit is contained in:
commit
9657f9a01b
|
@ -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) && $config->getSystemValue('installed', false)) {
|
if (!self::needUpgrade($config)) {
|
||||||
// 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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue