mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/11295] Correct cases: replace postgres with phpbb_db_driver_postgres.
PHPBB3-11295
This commit is contained in:
parent
01607be42a
commit
7203f39f87
1 changed files with 2 additions and 2 deletions
|
@ -186,7 +186,7 @@ class phpbb_database_test_connection_manager
|
|||
$this->purge_extras();
|
||||
break;
|
||||
|
||||
case 'postgres':
|
||||
case 'phpbb_db_driver_postgres':
|
||||
$this->connect();
|
||||
// Drop all of the tables
|
||||
foreach ($this->get_tables() as $table)
|
||||
|
@ -429,7 +429,7 @@ class phpbb_database_test_connection_manager
|
|||
}
|
||||
break;
|
||||
|
||||
case 'postgres':
|
||||
case 'phpbb_db_driver_postgres':
|
||||
$sql = 'SELECT sequence_name
|
||||
FROM information_schema.sequences';
|
||||
$result = $this->pdo->query($sql);
|
||||
|
|
Loading…
Add table
Reference in a new issue