mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 13:38:32 +01:00
MDL-80911 Course: Fix missing required files
This commit is contained in:
parent
bcae2164ac
commit
5565f47e9b
@ -767,6 +767,7 @@ function include_modulelib($modulename) {
|
||||
*/
|
||||
function get_moduleinfo_data($cm, $course) {
|
||||
global $CFG;
|
||||
require_once($CFG->libdir . '/gradelib.php');
|
||||
|
||||
list($cm, $context, $module, $data, $cw) = can_update_moduleinfo($cm);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user