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
+2 -2
View File
@@ -48,11 +48,11 @@ if ($mform->is_cancelled()) {
if (!empty($data = $mform->get_data())) {
$content = $mform->get_file_content('backupfile');
local_webhooks_restore_backup($content);
redirect($managerservice, new lang_string('restorefinished', 'moodle'));
redirect($managerservice, new lang_string('restorefinished', 'local_webhooks'));
}
/* The page title */
$titlepage = new lang_string('backup', 'moodle');
$titlepage = new lang_string('backup', 'local_webhooks');
$PAGE->navbar->add($titlepage);
$PAGE->set_heading($titlepage);
$PAGE->set_title($titlepage);