Merge branch 'MDL-54164-master' of git://github.com/ryanwyllie/moodle

This commit is contained in:
David Monllao 2016-05-18 07:11:25 +08:00
commit ccf323d571

View File

@ -1526,7 +1526,9 @@ function print_upgrade_part_end($plugin, $installation, $verbose) {
}
}
if ($verbose) {
echo $OUTPUT->notification(get_string('success'), 'notifysuccess');
$notification = new \core\output\notification(get_string('success'), \core\output\notification::NOTIFY_SUCCESS);
$notification->set_show_closebutton(false);
echo $OUTPUT->render($notification);
print_upgrade_separator();
}
}