From 382123a06e9328fa2b4dbe593f80a53717ff351b Mon Sep 17 00:00:00 2001 From: stronk7 Date: Mon, 4 May 2009 14:33:01 +0000 Subject: [PATCH] 2.0 has lowercase xmldb objects. --- lib/db/upgrade.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/db/upgrade.php b/lib/db/upgrade.php index bf10b81f36..9f945df7a4 100644 --- a/lib/db/upgrade.php +++ b/lib/db/upgrade.php @@ -1460,8 +1460,7 @@ WHERE gradeitemid IS NOT NULL AND grademax IS NOT NULL"); } if ($result && $oldversion < 2009021801) { /// Define field backuptype to be added to backup_log - $table = new XMLDBTable('backup_log'); - $field = new XMLDBField('backuptype'); + $table = new xmldb_table('backup_log'); $field = new xmldb_field('backuptype', XMLDB_TYPE_CHAR, '50', null, XMLDB_NOTNULL, null, null, 'info'); /// Conditionally Launch add field backuptype and set all old records as 'scheduledbackup' records. if (!$dbman->field_exists($table, $field)) { -- 2.39.5