Skip to content

Commit

Permalink
MDL-70269 ClamAV: make retry the default option on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
timhunt committed Mar 24, 2021
1 parent fc335f5 commit b473b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/antivirus/clamav/settings.php
Expand Up @@ -66,7 +66,7 @@
);
$settings->add(new admin_setting_configselect('antivirus_clamav/clamfailureonupload',
new lang_string('clamfailureonupload', 'antivirus_clamav'),
new lang_string('configclamfailureonupload', 'antivirus_clamav'), 'donothing', $options));
new lang_string('configclamfailureonupload', 'antivirus_clamav'), 'tryagain', $options));

// Number of attempts clamav will try when there is error during a scanning process.
$options = array(1 => 1, 2 => 2, 3 => 3, 4 => 4, 5 => 5);
Expand Down

0 comments on commit b473b95

Please sign in to comment.