aboutsummaryrefslogtreecommitdiffstats
path: root/community/nextcloud/disable-integrity-check-as-default.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/nextcloud/disable-integrity-check-as-default.patch')
-rw-r--r--community/nextcloud/disable-integrity-check-as-default.patch12
1 files changed, 4 insertions, 8 deletions
diff --git a/community/nextcloud/disable-integrity-check-as-default.patch b/community/nextcloud/disable-integrity-check-as-default.patch
index 87108c600a..cf6391a333 100644
--- a/community/nextcloud/disable-integrity-check-as-default.patch
+++ b/community/nextcloud/disable-integrity-check-as-default.patch
@@ -1,15 +1,11 @@
-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.
+@@ -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);
- } else {
- $isIntegrityCheckDisabled = false;
}
+ if ($isIntegrityCheckDisabled === true) {
+ return false;