From 102ab4b93d1a8fb21b5bcad39271e3cb60dce294 Mon Sep 17 00:00:00 2001 From: danmarsden Date: Wed, 4 Mar 2009 02:45:10 +0000 Subject: [PATCH] MDL-15276 add check for RESTORE_SILENTLY merged from HEAD --- backup/restorelib.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backup/restorelib.php b/backup/restorelib.php index 45306eee55b..442ead57231 100644 --- a/backup/restorelib.php +++ b/backup/restorelib.php @@ -7603,7 +7603,9 @@ define('RESTORE_GROUPS_GROUPINGS', 3); } 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 {