Update avToggle.ts
This commit is contained in:
parent
58fafe88bf
commit
089bc8ed85
1 changed files with 0 additions and 8 deletions
|
|
@ -34,11 +34,3 @@ export function setAntivirusEnabled(enabled: boolean): void {
|
|||
}
|
||||
antivirusEnabled = Boolean(enabled);
|
||||
}
|
||||
|
||||
/**
|
||||
* Useful if env / configuration changes at runtime (tests, hot reload).
|
||||
* Not exported because it is not used externally (keeps knip clean).
|
||||
*/
|
||||
function resetAntivirusEnabledToDefault(): void {
|
||||
antivirusEnabled = CLAMAV_CONFIGURED ? ANTIVIRUS_ENABLED_DEFAULT : false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue