Deleteing mistakenly-added currencies table from enrol_authorize

This commit is contained in:
moodler
2005-07-22 07:25:49 +00:00
parent a6c9107b45
commit a3071d58ac
3 changed files with 9 additions and 1 deletions
+4
View File
@@ -1456,6 +1456,10 @@ function main_upgrade($oldversion=0) {
}
}
if ($oldversion < 2005060222) { // delete the mistakenly-added currencies table from enrol_authorize
execute_sql("DROP TABLE {$CFG->prefix}currencies",false); // drop silently
}
return $result;
}
+4
View File
@@ -1175,6 +1175,10 @@ function main_upgrade($oldversion=0) {
}
}
if ($oldversion < 2005060222) { // delete the mistakenly-added currencies table from enrol_authorize
execute_sql("DROP TABLE {$CFG->prefix}currencies",false); // drop silently
}
return $result;
}
+1 -1
View File
@@ -6,7 +6,7 @@
// This is compared against the values stored in the database to determine
// whether upgrades should be performed (see lib/db/*.php)
$version = 2005060221; // YYYYMMDD = Moodle 1.5 Date
$version = 2005060222; // YYYYMMDD = Moodle 1.5 Date
// X = Moodle 1.5 Point release (0,1,2...)
// Y = Interim incrementer