Merge pull request #1785 from nextcloud/fix/1783/fix-clamav-on-arm64

clamav should never be enabled on arm64
This commit is contained in:
Simon L 2023-01-24 12:55:25 +01:00 committed by GitHub
commit 4a1b8ea45c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -134,6 +134,10 @@ class ConfigurationManager
}
public function isClamavEnabled() : bool {
if (!$this->isx64Platform()) {
return false;
}
$config = $this->GetConfig();
if (isset($config['isClamavEnabled']) && $config['isClamavEnabled'] === 1) {
return true;