From 94e2fbee2443e07912e794b75148e826792acd87 Mon Sep 17 00:00:00 2001 From: Tobias Reischmann <tobias.reischmann@wi.uni-muenster.de> Date: Tue, 21 Jan 2020 14:01:40 +0100 Subject: [PATCH] Use backup settings from automated backups --- classes/local/manager/backup_manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/local/manager/backup_manager.php b/classes/local/manager/backup_manager.php index b7c8a2a..4237213 100644 --- a/classes/local/manager/backup_manager.php +++ b/classes/local/manager/backup_manager.php @@ -69,7 +69,7 @@ class backup_manager { } // Perform Backup. $bc = new \backup_controller(\backup::TYPE_1COURSE, $courseid, \backup::FORMAT_MOODLE, - \backup::INTERACTIVE_NO, \backup::MODE_GENERAL, get_admin()->id); + \backup::INTERACTIVE_NO, \backup::MODE_AUTOMATED, get_admin()->id); $bc->execute_plan(); // Execute backup. $results = $bc->get_results(); // Get the file information needed. /* @var $file \stored_file instance of the backup file*/ -- GitLab