diff --git a/backup/import.php b/backup/import.php index 7a320573dcbac..cb55749ea049a 100644 --- a/backup/import.php +++ b/backup/import.php @@ -176,7 +176,7 @@ // Display a notification and a continue button if ($warnings) { echo $OUTPUT->box_start(); - echo $OUTPUT->notification(get_string('warning'), 'notifywarning'); + echo $OUTPUT->notification(get_string('warning'), 'notifyproblem'); echo html_writer::start_tag('ul', array('class'=>'list')); foreach ($warnings as $warning) { echo html_writer::tag('li', $warning); diff --git a/backup/util/ui/renderer.php b/backup/util/ui/renderer.php index f83190867cb35..abe6842a4501b 100644 --- a/backup/util/ui/renderer.php +++ b/backup/util/ui/renderer.php @@ -410,7 +410,7 @@ public function precheck_notices($results) { } if (array_key_exists('warnings', $results)) { foreach ($results['warnings'] as $warning) { - $output .= $this->output->notification($warning, 'notifywarning notifyproblem'); + $output .= $this->output->notification($warning, 'notifyproblem'); } } return $output.html_writer::end_tag('div');