NOBUG: Re-fix: wrong brackets in the previous commit, sorry

This commit is contained in:
mudrd8mz
2009-09-07 15:04:11 +00:00
parent 520199ea02
commit b287ea7a32
+1 -2
View File
@@ -283,10 +283,9 @@ if ($context->contextlevel == CONTEXT_SYSTEM) {
if (function_exists($filefunction)) {
// if the function exists, it must send the file and terminate. Whatever it returns leads to "not found"
$filefunction($course, $cminfo, $context, $filearea, $args, $forcedownload);
}
}
send_file_not_found();
}
} else if ($context->contextlevel == CONTEXT_BLOCK) {
//not supported yet