Avoid to end SQL commands with a trailing ';'. MDL-9058

Merged from MOODLE_18_STABLE
This commit is contained in:
stronk7 2007-03-26 21:52:11 +00:00
parent c7888a90bc
commit 1555de81ce

View File

@ -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
}