Merge pull request #7578 from nextcloud/enh/noid/fix-bug-with-fts

fix bug with FTS not being able to enable it anymore
This commit is contained in:
Simon L. 2026-02-13 10:53:34 +01:00 committed by GitHub
commit fe4f568d02
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -114,7 +114,7 @@ class ConfigurationManager
// Type-cast because old configs could have 1/0 for this key.
get => (bool) $this->get('isFulltextsearchEnabled', false);
// Elasticsearch does not work on kernels without seccomp anymore. See https://github.com/nextcloud/all-in-one/discussions/5768
set { $this->set('isFulltextsearchEnabled', ($this->collaboraSeccompDisabled && $value)); }
set { $this->set('isFulltextsearchEnabled', (!$this->collaboraSeccompDisabled && $value)); }
}
public string $domain {