Skip to content

Commit c1b6c4e

Browse files
Only show box for detailed info about migration steps when requested
Signed-off-by: Jon Stovell <jonstovell@gmail.com>
1 parent e4f1085 commit c1b6c4e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Themes/default/MaintenanceTemplate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ protected static function showStepWithSubSteps(string $type, string $done_param)
311311
<h3>', Lang::getTxt('upgrade_performing_substeps', ['type' => $type], file: 'Maintenance'), '</h3>
312312
<h4><em>', Lang::getTxt('upgrade_please_be_patient', file: 'Maintenance'), '</em></h4>
313313
<input type="hidden" name="', $done_param, '" id="', $done_param, '" value="0">
314-
<div id="debug_section" class="bbc_code"><span id="debuginfo"></span></div>';
314+
<div id="debug_section" class="bbc_code', !Maintenance::$tool->isDebug() ? ' hidden' : '', '"><span id="debuginfo"></span></div>';
315315

316316
echo '
317317
<h3 id="current_tab">',

0 commit comments

Comments
 (0)