summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-03-14 17:18:36 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-03-14 17:18:36 +0100
commit9657f9a01bbb372abac0342b952c693800c7ad08 (patch)
treeedd46730bc514898a22b2dbadeb396adcf5f9230
parenta058bb0d7ed7b26634445f5b7d17ba2fa25f0c20 (diff)
parentc519447522e98e8a40dc1c1bf70cd7ef8c08505a (diff)
downloadnextcloud-server-9657f9a01bbb372abac0342b952c693800c7ad08.tar.gz
nextcloud-server-9657f9a01bbb372abac0342b952c693800c7ad08.zip
Merge pull request #23171 from maxolasersquad/master
Removed unnecessary check 'installed' system value' call.
-rw-r--r--lib/private/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/util.php b/lib/private/util.php
index 6f53be8446a..227edfcf217 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) && $config->getSystemValue('installed', false)) {
+ if (!self::needUpgrade($config)) {
// this check needs to be done every time
$errors = self::checkDataDirectoryValidity($CONFIG_DATADIRECTORY);
}