Manual:$wgAntivirusRequired

Details
Determines if a failed virus scan will cause the file to be rejected.