Commit 590bc443 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Email admin on file upload when virus checking is on but clam executable is missing

parent 0181022c
......@@ -105,6 +105,9 @@ class upload_manager {
return $errormsg;
}
}
else {
clam_mail_admins(get_string('clamlost', 'mahara', $pathtoclam));
}
}
$this->file = $file;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment