MDL-87661 course: add required library to drag/drop upload handler.

This commit is contained in:
Paul Holden
2026-03-09 17:10:11 +00:00
parent 65b51ef436
commit b145ff806d
@@ -56,6 +56,8 @@ class dndupload_handler {
public function __construct($course, $modnames = null) {
global $CFG, $PAGE;
require_once("{$CFG->dirroot}/course/lib.php");
// Add some default types to handle.
// Note: 'Files' type is hard-coded into the Javascript as this needs to be ...
// ... treated a little differently.