mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 04:22:07 +02:00
MDL-51095 enrol_meta: add missing include
Thanks to Shaun Meyer for providing a patch
This commit is contained in:
parent
57739a72cb
commit
1165cab2b3
@ -80,6 +80,7 @@ class enrol_meta_handler {
|
||||
*/
|
||||
protected static function sync_with_parent_course(stdClass $instance, $userid) {
|
||||
global $DB, $CFG;
|
||||
require_once($CFG->dirroot . '/group/lib.php');
|
||||
|
||||
$plugin = enrol_get_plugin('meta');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user