From: mudrd8mz Date: Mon, 7 Sep 2009 15:04:11 +0000 (+0000) Subject: NOBUG: Re-fix: wrong brackets in the previous commit, sorry X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=b287ea7a328804bd078aae76947c2c1d720965e8;p=moodle.git NOBUG: Re-fix: wrong brackets in the previous commit, sorry --- diff --git a/pluginfile.php b/pluginfile.php index c5377b9265..168f93a26c 100644 --- a/pluginfile.php +++ b/pluginfile.php @@ -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