From f677ece516b38fd580f0cf62f1cdb6d02b71de44 Mon Sep 17 00:00:00 2001 From: Marina Glancy Date: Thu, 2 Jul 2015 15:13:25 +0800 Subject: [PATCH] MDL-48239 grades: fix notification class --- grade/lib.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/grade/lib.php b/grade/lib.php index 9c2c351eff7..a8d2d310275 100644 --- a/grade/lib.php +++ b/grade/lib.php @@ -634,7 +634,7 @@ function print_natural_aggregation_upgrade_notice($courseid, $context, $thispage $reverturl = new moodle_url($thispage, $urlparams); $revertbutton = $OUTPUT->single_button($reverturl, $revertmessage, 'get'); - $html .= $OUTPUT->notification($message, 'notifywarning'); + $html .= $OUTPUT->notification($message); $html .= $revertbutton . $hideminmaxbutton; } else if ($minmaxtouse == GRADE_MIN_MAX_FROM_GRADE_GRADE) { @@ -648,7 +648,7 @@ function print_natural_aggregation_upgrade_notice($courseid, $context, $thispage $fixurl = new moodle_url($thispage, $urlparams); $fixbutton = $OUTPUT->single_button($fixurl, $fixmessage, 'get'); - $html .= $OUTPUT->notification($message, 'notifywarning'); + $html .= $OUTPUT->notification($message); $html .= $fixbutton . $hideminmaxbutton; } } @@ -681,7 +681,7 @@ function print_natural_aggregation_upgrade_notice($courseid, $context, $thispage $fixurl = new moodle_url($thispage, $urlparams); $fixbutton = $OUTPUT->single_button($fixurl, $fixmessage, 'get'); - $html .= $OUTPUT->notification($message, 'notifywarning'); + $html .= $OUTPUT->notification($message); $html .= $fixbutton; } }