From 5900a79aca84a9d3911832d0b8deac1f2df7c3dc Mon Sep 17 00:00:00 2001 From: Adrian Greeve Date: Wed, 19 Dec 2018 10:40:06 +0100 Subject: [PATCH] MDL-59954 course: Remove unused global. --- course/dnduploadlib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();