From 2e8491a5be5d65998a14795fc69588648c09ed8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luca=20B=C3=B6sch?= Date: Wed, 13 Jun 2018 17:21:41 +0800 Subject: [PATCH] MDL-31443 core_backup: revert changes to util/ui/renderer.php --- backup/util/ui/renderer.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/backup/util/ui/renderer.php b/backup/util/ui/renderer.php index 23462cf658e..f656577bc78 100644 --- a/backup/util/ui/renderer.php +++ b/backup/util/ui/renderer.php @@ -125,13 +125,7 @@ class core_backup_renderer extends plugin_renderer_base { $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;