summaryrefslogtreecommitdiff
path: root/user/nextcloud/disable-integrity-check-as-default.patch
blob: 54ea7a51e00530df3c3c8e71227fe6f7bb89658e (plain) (blame)
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
@@ -111,7 +111,7 @@
 		 */
 		$isIntegrityCheckDisabled = false;
 		if ($this->config !== null) {
-			$isIntegrityCheckDisabled = $this->config->getSystemValue('integrity.check.disabled', false);
+			$isIntegrityCheckDisabled = $this->config->getSystemValue('integrity.check.disabled', true);
 		}
 		if ($isIntegrityCheckDisabled === true) {
 			return false;