From 23098cd956b3ef5a79dfc8515bd233c14f847531 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Thu, 6 Nov 2008 06:49:33 +0000 Subject: [PATCH] backup: MDL-17145 When a backup completes, send users to the backup file area --- backup/backup_execute.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backup/backup_execute.html b/backup/backup_execute.html index bd617878a3..5eb083d024 100644 --- a/backup/backup_execute.html +++ b/backup/backup_execute.html @@ -76,7 +76,8 @@ if (empty($to)) { //Print final message print_simple_box(get_string("backupfinished"),"center"); - print_continue("$CFG->wwwroot/files/index.php?id=".$preferences->backup_course."&wdir=/backupdata"); + $context = get_context_instance(CONTEXT_COURSE, $course->id); + print_continue("$CFG->wwwroot/files/index.php?contextid=".$context->id."&filearea=course_backup&itemid=0"); } else { print_simple_box(get_string('importdataexported'),"CENTER"); if (!empty($preferences->backup_destination)) { -- 2.39.5