Merge branch 'MDL-42706-master-int' of git://github.com/FMCorz/moodle

This commit is contained in:
Marina Glancy
2013-11-05 17:13:38 +11:00
+1 -1
View File
@@ -405,7 +405,7 @@ function book_get_file_info($browser, $areas, $course, $cm, $context, $filearea,
* @return bool false if file not found, does not return if found - just send the file
*/
function book_pluginfile($course, $cm, $context, $filearea, $args, $forcedownload, array $options=array()) {
global $DB;
global $CFG, $DB;
if ($context->contextlevel != CONTEXT_MODULE) {
return false;