mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
completion MDL-24119 moved a string out of the code and into a lang file
This commit is contained in:
parent
7cd7627c87
commit
e532ce752e
@ -51,7 +51,7 @@ class completion_criteria_unenrol extends completion_criteria {
|
||||
* @return void
|
||||
*/
|
||||
public function config_form_display(&$mform, $data = null) {
|
||||
$mform->addElement('checkbox', 'criteria_unenrol', 'Completion on unenrolment');
|
||||
$mform->addElement('checkbox', 'criteria_unenrol', get_string('completiononunenrolment','completion'));
|
||||
|
||||
if ($this->id) {
|
||||
$mform->setDefault('criteria_unenrol', 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user