diff --git a/question/exportfile.php b/question/exportfile.php deleted file mode 100644 index c22fb4a45a8..00000000000 --- a/question/exportfile.php +++ /dev/null @@ -1,17 +0,0 @@ -libdir . '/filelib.php'); - - // Note: file.php always calls require_login() with $setwantsurltome=false - // in order to avoid messing redirects. MDL-14495 - require_login(0, true, null, false); - - $relativepath = get_file_argument(); - if (!$relativepath) { - print_error('invalidarg', 'question'); - } - - $pathname = $CFG->dataroot . '/temp/questionexport/' . $USER->id . '/' . $relativepath; - - send_temp_file($pathname, $relativepath); -