refactor: remove cross-component runtime dependencies
Moodle Plugin CI / test (push) Successful in 3m20s
Moodle Plugin CI / test (push) Successful in 3m20s
This commit is contained in:
@@ -42,13 +42,13 @@ class service_backup_form extends moodleform {
|
||||
$mform =& $this->_form;
|
||||
|
||||
/* Form heading */
|
||||
$mform->addElement('header', 'editserviceheader', new lang_string('restore', 'moodle'));
|
||||
$mform->addElement('header', 'editserviceheader', new lang_string('restore', 'local_webhooks'));
|
||||
|
||||
/* Download the file */
|
||||
$mform->addElement('filepicker', 'backupfile', new lang_string('file', 'moodle'));
|
||||
$mform->addElement('filepicker', 'backupfile', new lang_string('file', 'local_webhooks'));
|
||||
$mform->addRule('backupfile', null, 'required');
|
||||
|
||||
/* Control Panel */
|
||||
$this->add_action_buttons(true, new lang_string('restore', 'moodle'));
|
||||
$this->add_action_buttons(true, new lang_string('restore', 'local_webhooks'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user