Commit 7b0d6a1b authored by Son Nguyen's avatar Son Nguyen Committed by Gerrit Code Review

Merge "Bug 1607564: system paths shouldn't be based on a lang string"

parents 5e4c9cb7 00563fc2
......@@ -809,7 +809,6 @@ $string['attachment'] = 'Attachment';
$string['editaccess'] = 'Edit access';
// Upload manager
$string['quarantinedirname'] = 'quarantine';
$string['clammovedfile'] = 'The file has been moved to a quarantine directory.';
$string['clamdeletedfile'] = 'The file has been deleted.';
$string['clamdeletedfilefailed'] = 'The file could not be deleted.';
......
......@@ -271,7 +271,7 @@ function clam_handle_infected_file($file) {
global $USER;
$userid = $USER->get('id');
$quarantinedir = get_config('dataroot') . get_string('quarantinedirname');
$quarantinedir = get_config('dataroot') . 'quarantine';
check_dir_exists($quarantinedir);
if (is_dir($quarantinedir) && is_writable($quarantinedir)) {
......
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