refactor: remove cross-component runtime dependencies
Moodle Plugin CI / test (push) Successful in 3m20s

This commit is contained in:
2026-08-12 17:53:02 +00:00
parent 0d4bf6a208
commit a81530d0d7
15 changed files with 204 additions and 51 deletions
+3 -3
View File
@@ -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'));
}
}