Merged from MOODLE_18_STABLE
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
}