public function Scanner::allowUncheckedFiles in ClamAV 8
Same name and namespace in other branches
- 2.x src/Scanner.php \Drupal\clamav\Scanner::allowUncheckedFiles()
Check whether files that have not been scanned can be uploaded.
Return value
boolean TRUE if unchecked files are permitted.
File
- src/
Scanner.php, line 75
Class
- Scanner
- Service class for the ClamAV scanner instance.
Namespace
Drupal\clamavCode
public function allowUncheckedFiles() {
return $this->config
->outage_action() == Config::OUTAGE_ALLOW_UNCHECKED;
}