]> git.mjollnir.org Git - moodle.git/commitdiff
Avoid to end SQL commands with a trailing ';'. MDL-9058
authorstronk7 <stronk7>
Mon, 26 Mar 2007 21:52:11 +0000 (21:52 +0000)
committerstronk7 <stronk7>
Mon, 26 Mar 2007 21:52:11 +0000 (21:52 +0000)
Merged from MOODLE_18_STABLE

mod/resource/db/upgrade.php

index dc1f0eb1c22b656447fd1ebe59e1d1a2e49947dd..8e6db05b5f27cb5f1f187e8bb42f78852103a03a 100644 (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
     }