From: danmarsden Date: Wed, 4 Mar 2009 02:44:05 +0000 (+0000) Subject: MDL-15276 add check for RESTORE_SILENTLY X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=283fc1567045535b400610b583e9accf327e71e2;p=moodle.git MDL-15276 add check for RESTORE_SILENTLY --- diff --git a/backup/restorelib.php b/backup/restorelib.php index 1c391e11ac..9b81966238 100644 --- a/backup/restorelib.php +++ b/backup/restorelib.php @@ -7780,7 +7780,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 {