From ab5aeca11c0044e7ed119233bdf810448302a888 Mon Sep 17 00:00:00 2001 From: mjollnir_ Date: Tue, 19 Apr 2005 00:42:24 +0000 Subject: [PATCH] Fixing timezone postgres upgrade. Please do not use backticks for postgres, they are invalid --- lib/db/postgres7.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/db/postgres7.php b/lib/db/postgres7.php index 8c2f6a82ed2..bae8dfda1bc 100644 --- a/lib/db/postgres7.php +++ b/lib/db/postgres7.php @@ -1038,7 +1038,7 @@ function main_upgrade($oldversion=0) { if ($oldversion < 2005040800) { table_column('user', 'timezone', 'timezone', 'varchar', '100', '', '99'); - execute_sql(" ALTER TABLE `{$CFG->prefix}user` DROP `timezonename` "); + execute_sql(" ALTER TABLE {$CFG->prefix}user DROP timezonename "); } if ($oldversion < 2005041101) {