Skip to content

Commit

Permalink
MDL-31443 core_backup: revert changes to util/ui/renderer.php
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaboesch authored and stronk7 committed Jun 13, 2018
1 parent cc0b367 commit 6fa61e6
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions backup/util/ui/renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,7 @@ public function backup_details($details, $nextstageurl) {
$html .= html_writer::end_tag('div');

$html .= html_writer::start_tag('div', array('class' => 'backup-section settings-section'));
if ($this instanceof import_ui_stage_inital) {
$html .= $this->output->heading(get_string('importrootsettings', 'backup'), 2, array('class' => 'header'));
} else if ($this instanceof restore_ui_stage_settings) {
$html .= $this->output->heading(get_string('restorerootsettings', 'backup'), 2, array('class' => 'header'));
} else {
$html .= $this->output->heading(get_string('backupsettings', 'backup'), 2, array('class' => 'header'));
}
$html .= $this->output->heading(get_string('backupsettings', 'backup'), 2, array('class' => 'header'));
foreach ($details->root_settings as $label => $value) {
if ($label == 'filename' or $label == 'user_files') {
continue;
Expand Down

0 comments on commit 6fa61e6

Please sign in to comment.