The functional was updated to a new form
This commit is contained in:
		@@ -47,7 +47,7 @@ if ($mform->is_cancelled()) {
 | 
				
			|||||||
/* Processing the received file */
 | 
					/* Processing the received file */
 | 
				
			||||||
if ($data = $mform->get_data()) {
 | 
					if ($data = $mform->get_data()) {
 | 
				
			||||||
    $content = $mform->get_file_content("backupfile");
 | 
					    $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"));
 | 
					    redirect($managerservice, new lang_string("restorefinished", "moodle"));
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user