mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
clamav should never be enabled on arm64
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
a415d71013
commit
bcdcab4d8a
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue