aboutsummaryrefslogtreecommitdiffstats
path: root/community/nextcloud/disable-integrity-check-as-default.patch
blob: 87108c600a81b30276ce958ed136eb6478e9f7df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
We patch some files and Nextcloud's integrity check doesn't like it...
APK ensures integrity of all installed files, so this Nextcloud's integrity
check doesn't add any value.

--- a/lib/private/IntegrityCheck/Checker.php
+++ b/lib/private/IntegrityCheck/Checker.php
@@ -109,7 +109,7 @@ class Checker {
 		 * too prominent. So please do not add it to config.sample.php.
 		 */
 		if ($this->config !== null) {
-			$isIntegrityCheckDisabled = $this->config->getSystemValue('integrity.check.disabled', false);
+			$isIntegrityCheckDisabled = $this->config->getSystemValue('integrity.check.disabled', true);
 		} else {
 			$isIntegrityCheckDisabled = false;
 		}