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

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;