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