mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Fixing timezone postgres upgrade. Please do not use backticks for postgres, they are invalid
This commit is contained in:
parent
9058e785cb
commit
ab5aeca11c
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user