mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-45688 added missing library requirement
Conflicts: course/modlib.php
This commit is contained in:
parent
7076f1534f
commit
db82ad12d2
1 changed files with 1 additions and 0 deletions
|
@ -178,6 +178,7 @@ function add_moduleinfo($moduleinfo, $course, $mform = null) {
|
|||
*/
|
||||
function edit_module_post_actions($moduleinfo, $course, $eventname) {
|
||||
global $USER, $CFG;
|
||||
require_once($CFG->libdir.'/gradelib.php');
|
||||
|
||||
$modcontext = context_module::instance($moduleinfo->coursemodule);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue