Fixing timezone postgres upgrade. Please do not use backticks for postgres, they are invalid

This commit is contained in:
mjollnir_ 2005-04-19 00:42:24 +00:00
parent 9058e785cb
commit ab5aeca11c

View File

@ -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) {