The functional was updated to a new form

This commit is contained in:
Valentin Popov 2017-12-21 11:14:40 +04:00
parent 0cbf2bbb87
commit 2057a1efb6

View File

@ -47,7 +47,7 @@ if ($mform->is_cancelled()) {
/* Processing the received file */
if ($data = $mform->get_data()) {
$content = $mform->get_file_content("backupfile");
local_webhooks_restore_backup($content);
local_webhooks_restore_backup($content, $data->deleterecords);
redirect($managerservice, new lang_string("restorefinished", "moodle"));
}