Merge branch 'MDL-67945-38' of git://github.com/ferranrecio/moodle into MOODLE_38_STABLE

This commit is contained in:
Sara Arjona
2020-03-03 10:10:45 +01:00
+1 -1
View File
@@ -716,7 +716,7 @@ class enrol_self_plugin extends enrol_plugin {
* @return bool
*/
public function edit_instance_form($instance, MoodleQuickForm $mform, $context) {
global $CFG;
global $CFG, $DB;
// Merge these two settings to one value for the single selection element.
if ($instance->notifyall and $instance->expirynotify) {