mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
Merge pull request #1785 from nextcloud/fix/1783/fix-clamav-on-arm64
clamav should never be enabled on arm64
This commit is contained in:
commit
4a1b8ea45c
1 changed files with 4 additions and 0 deletions
|
|
@ -134,6 +134,10 @@ class ConfigurationManager
|
||||||
}
|
}
|
||||||
|
|
||||||
public function isClamavEnabled() : bool {
|
public function isClamavEnabled() : bool {
|
||||||
|
if (!$this->isx64Platform()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
$config = $this->GetConfig();
|
$config = $this->GetConfig();
|
||||||
if (isset($config['isClamavEnabled']) && $config['isClamavEnabled'] === 1) {
|
if (isset($config['isClamavEnabled']) && $config['isClamavEnabled'] === 1) {
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue