]> git.mjollnir.org Git - moodle.git/commitdiff
NOBUG: Re-fix: wrong brackets in the previous commit, sorry
authormudrd8mz <mudrd8mz>
Mon, 7 Sep 2009 15:04:11 +0000 (15:04 +0000)
committermudrd8mz <mudrd8mz>
Mon, 7 Sep 2009 15:04:11 +0000 (15:04 +0000)
pluginfile.php

index c5377b9265b137734dc4e9b70daf7a9b5da81b13..168f93a26c68ddff6518f01badb58730de75a0a6 100644 (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