mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-06-04 01:40:09 +00:00
clamav should never be enabled on arm64
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user