MDL-59954 course: Remove unused global.

This commit is contained in:
Adrian Greeve
2018-12-19 10:40:06 +01:00
parent 18d086a8a4
commit 5900a79aca
+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();