BUGFIX: Fixes #7123. Sets timezone of database if specified.

This commit is contained in:
Robert Curry 2012-04-16 11:49:35 +12:00
parent b9e63145b4
commit 43ac0a4641

View File

@ -173,6 +173,9 @@ class PostgreSQLDatabase extends SS_Database {
$this->setSchema($schema);
// Set the timezone if required.
if(isset($parameters['timezone'])) $this->query(sprintf("SET SESSION TIME ZONE '%s'", $parameters['timezone']));
return true;
}
/**