Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65cbefc
)
MDL-54164 upgradelib: Remove close button on success notification
author
Ryan Wyllie
<ryan@moodle.com>
Tue, 17 May 2016 03:55:46 +0000
(
03:55
+0000)
committer
Ryan Wyllie
<ryan@moodle.com>
Tue, 17 May 2016 03:55:46 +0000
(
03:55
+0000)
lib/upgradelib.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/upgradelib.php
b/lib/upgradelib.php
index
57ab054
..
6397e88
100644
(file)
--- a/
lib/upgradelib.php
+++ b/
lib/upgradelib.php
@@
-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();
}
}