MDL-51095 enrol_meta: add missing include

Thanks to Shaun Meyer for providing a patch
This commit is contained in:
Marina Glancy
2015-08-13 12:29:24 +08:00
parent 57739a72cb
commit 1165cab2b3
+1
View File
@@ -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');