From 3aceb097a20aaf956e89a632d769abae217d95d7 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Thu, 7 May 2009 02:38:12 +0000 Subject: [PATCH] blocklib: MDL-19010 fix upgrade breakage that Nico caused when he fixed the other problems. --- lib/db/upgrade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/db/upgrade.php b/lib/db/upgrade.php index 0f1f4f1dd4..edb646a101 100644 --- a/lib/db/upgrade.php +++ b/lib/db/upgrade.php @@ -1718,11 +1718,11 @@ WHERE gradeitemid IS NOT NULL AND grademax IS NOT NULL"); if ($result && $oldversion < 2009050601) { - /// Define table block_instance to be renamed to block_instance_old + /// Define table block_instance to be renamed to block_instances $table = new xmldb_table('block_instance'); /// Launch rename table for block_instance - $dbman->rename_table($table, 'block_instance_old'); + $dbman->rename_table($table, 'block_instances'); /// Main savepoint reached upgrade_main_savepoint($result, 2009050601); -- 2.39.5