aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2017-12-21 10:14:40 +0300
committerValentin Popov <info@valentineus.link>2017-12-21 10:14:40 +0300
commit2057a1efb67d6af8a72eba5e367c97289b07c85d (patch)
tree20184db4fbd4285e645de07e2eb14ae19b4d764e
parent0cbf2bbb8735c8473bba0cc2ff41faa9d35d528e (diff)
downloadlocal_webhooks-2057a1efb67d6af8a72eba5e367c97289b07c85d.tar.xz
local_webhooks-2057a1efb67d6af8a72eba5e367c97289b07c85d.zip
The functional was updated to a new form
-rw-r--r--restorebackup.php2
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"));
}