mirror of
https://github.com/moodle/moodle.git
synced 2025-08-03 16:13:28 +02:00
MDL-54164 upgradelib: Remove close button on success notification
This commit is contained in:
parent
65cbefc403
commit
2059d6edb5
1 changed files with 3 additions and 1 deletions
|
@ -1526,7 +1526,9 @@ function print_upgrade_part_end($plugin, $installation, $verbose) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($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();
|
print_upgrade_separator();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue