Merge branch 'todo_wiki_upgrade_master' of git://github.com/stronk7/moodle

This commit is contained in:
Sam Hemelryk 2011-06-07 16:01:49 +08:00
commit 6e76848427

View File

@ -357,7 +357,7 @@ function xmldb_wiki_upgrade($oldversion) {
// TODO: Will hold the old tables so we will have chance to fix problems
// Will remove old tables once migrating 100% stable
// Step 10: delete old tables
//if ($oldversion < 2011000000) {
//if ($oldversion < 2011060300) {
//$tables = array('wiki_pages', 'wiki_locks', 'wiki_entries');
//foreach ($tables as $tablename) {
@ -367,7 +367,7 @@ function xmldb_wiki_upgrade($oldversion) {
//}
//}
//echo $OUTPUT->notification('Droping old tables', 'notifysuccess');
//upgrade_mod_savepoint(true, 2011000000, 'wiki');
//upgrade_mod_savepoint(true, 2011060300, 'wiki');
//}
return true;