diff --git a/course/dnduploadlib.php b/course/dnduploadlib.php index 45e9c9030fe..11289b1b3f5 100644 --- a/course/dnduploadlib.php +++ b/course/dnduploadlib.php @@ -484,7 +484,7 @@ class dndupload_ajax_processor { * to process the file, ask the mod to set itself up, then return the result to the browser */ protected function handle_file_upload() { - global $CFG, $PAGE; + global $CFG; // Add the file to a draft file area. $draftitemid = file_get_unused_draft_itemid();