diff options
-rw-r--r-- | restorebackup.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/restorebackup.php b/restorebackup.php index ab35b95..c748d66 100644 --- a/restorebackup.php +++ b/restorebackup.php @@ -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")); } |