mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-18293 exception and DML cleanup
This commit is contained in:
parent
68fbad4417
commit
013376dec4
4 changed files with 45 additions and 56 deletions
|
@ -288,9 +288,7 @@
|
|||
/// Updated human-readable release version if necessary
|
||||
|
||||
if ($release <> $CFG->release) { // Update the release version
|
||||
if (!set_config("release", $release)) {
|
||||
print_error("cannotupdaterelease", 'debug');
|
||||
}
|
||||
set_config("release", $release);
|
||||
}
|
||||
|
||||
/// upgrade all plugins types
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue