mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
Avoid to end SQL commands with a trailing ';'. MDL-9058
Merged from MOODLE_18_STABLE
This commit is contained in:
parent
c7888a90bc
commit
1555de81ce
@ -34,7 +34,7 @@ function xmldb_resource_upgrade($oldversion=0) {
|
||||
|
||||
if ($result && $oldversion < 2007011700) {
|
||||
//move format from options to reference field because it was colliding with course blocks setting
|
||||
execute_sql("UPDATE {$CFG->prefix}resource SET reference=options WHERE type='text' AND reference='' AND options!='showblocks';");
|
||||
execute_sql("UPDATE {$CFG->prefix}resource SET reference=options WHERE type='text' AND reference='' AND options!='showblocks'");
|
||||
//ignore result
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user