]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-15276 add check for RESTORE_SILENTLY
authordanmarsden <danmarsden>
Wed, 4 Mar 2009 02:44:05 +0000 (02:44 +0000)
committerdanmarsden <danmarsden>
Wed, 4 Mar 2009 02:44:05 +0000 (02:44 +0000)
backup/restorelib.php

index 1c391e11ac7c4bf010c8e1b0ec31038ad84d3593..9b819662386c1cc147f3dc234b82a95e7c9cab34 100644 (file)
@@ -7780,7 +7780,9 @@ define('RESTORE_GROUPS_GROUPINGS', 3);
             }
 
             if ($status = restore_open_html($restore,$course_header)){
-                echo "<li>Creating the Restorelog.html in the course backup folder</li>";
+                if (!defined('RESTORE_SILENTLY')) {
+                    echo "<li>Creating the Restorelog.html in the course backup folder</li>";
+                }
             }
 
         } else {