MDL-59954 course: Remove unused global.

This commit is contained in:
Adrian Greeve
2018-12-19 10:48:27 +01:00
parent 74780ef62b
commit 7b661b8d6f
+1 -1
View File
@@ -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();