From 283fc1567045535b400610b583e9accf327e71e2 Mon Sep 17 00:00:00 2001 From: danmarsden Date: Wed, 4 Mar 2009 02:44:05 +0000 Subject: [PATCH] MDL-15276 add check for RESTORE_SILENTLY --- backup/restorelib.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backup/restorelib.php b/backup/restorelib.php index 1c391e11ac7c4..9b819662386c1 100644 --- a/backup/restorelib.php +++ b/backup/restorelib.php @@ -7780,7 +7780,9 @@ function restore_execute(&$restore,$info,$course_header,&$errorstr) { } if ($status = restore_open_html($restore,$course_header)){ - echo "
  • Creating the Restorelog.html in the course backup folder
  • "; + if (!defined('RESTORE_SILENTLY')) { + echo "
  • Creating the Restorelog.html in the course backup folder
  • "; + } } } else {