From 2057a1efb67d6af8a72eba5e367c97289b07c85d Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 21 Dec 2017 11:14:40 +0400 Subject: The functional was updated to a new form --- restorebackup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'restorebackup.php') 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")); } -- cgit v1.2.3