Skip to content
Permalink
Browse files

MDL-62188 enrol: Avoid ignoring the Recover grades default setting

  • Loading branch information...
sarjona committed Apr 25, 2018
1 parent 641d113 commit 697bed6bb7f93e59cb8364b93bb8066427a9574c
Showing with 1 addition and 0 deletions.
  1. +1 −0 enrol/manual/classes/enrol_users_form.php
@@ -129,6 +129,7 @@ public function definition() {
$mform->addElement('checkbox', 'recovergrades', get_string('recovergrades', 'enrol'));
$mform->setAdvanced('recovergrades');
$mform->setDefault('recovergrades', $CFG->recovergradesdefault);
$mform->addElement('select', 'duration', get_string('defaultperiod', 'enrol_manual'), $periodmenu);
$mform->setDefault('duration', $defaultperiod);
$mform->setAdvanced('duration');

0 comments on commit 697bed6

Please sign in to comment.
You can’t perform that action at this time.