And some more (the last) notices out! Bug 5713.

(http://moodle.org/bugs/bug.php?op=show&bugid=5713)
This commit is contained in:
stronk7
2006-06-03 20:16:19 +00:00
parent 28dc928f43
commit 27f60090f6
2 changed files with 2 additions and 2 deletions
+1 -2
View File
@@ -48,8 +48,7 @@
error ("An error has occurred and the restore could not be completed!");
}
if (!$restore->importing) {
echo $output;
if (empty($restore->importing)) {
//Print final message
print_simple_box(get_string("restorefinished"),"center");
} else {
+1
View File
@@ -5209,6 +5209,7 @@
if (!defined('RESTORE_SILENTLY')) {
echo '<li>'.get_string('creatingblocks').'</li>';
}
$course_header->blockinfo = !empty($course_header->blockinfo) ? $course_header->blockinfo : NULL;
if (!$status = restore_create_blocks($restore, $info->backup_block_format, $course_header->blockinfo, $xml_file)) {
if (!defined('RESTORE_SILENTLY')) {
notify('Error while creating the course blocks');