}
}
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();
}
}