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
|
@ -971,9 +971,7 @@ if ( file_exists(dirname(dirname(__FILE__)) . '/config.php')) {
|
|||
notify("WARNING!!! The code you are using is OLDER than the version that made these databases!");
|
||||
}
|
||||
} else {
|
||||
if (!set_config("version", $version)) {
|
||||
console_write_error("A problem occurred inserting current version into databases",'',false);
|
||||
}
|
||||
set_config("version", $version);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue