mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-17458 minor coding style improvements
This commit is contained in:
parent
86a9e60c7d
commit
0e8aa7acc4
@ -160,10 +160,10 @@
|
||||
moodle_install_roles();
|
||||
|
||||
// Install core event handlers
|
||||
events_update_definition();
|
||||
events_update_definition('moodle');
|
||||
|
||||
// Install core message providers
|
||||
message_update_providers();
|
||||
message_update_providers('moodle');
|
||||
message_update_providers('message');
|
||||
|
||||
// Write default settings unconditionally
|
||||
@ -274,13 +274,13 @@
|
||||
$status = xmldb_main_upgrade($CFG->version);
|
||||
/// If successful, continue upgrading roles and setting everything properly
|
||||
if ($status) {
|
||||
update_capabilities();
|
||||
update_capabilities('moodle');
|
||||
|
||||
// Update core events
|
||||
events_update_definition();
|
||||
events_update_definition('moodle');
|
||||
|
||||
// Update core message providers
|
||||
message_update_providers();
|
||||
message_update_providers('moodle');
|
||||
message_update_providers('message');
|
||||
|
||||
set_config("version", $version);
|
||||
|
Loading…
x
Reference in New Issue
Block a user