mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-10 09:35:24 +02:00
Merge PR #1207 branch 'bantu/ticket/11295' into develop
# By Andreas Fischer # Via Andreas Fischer * bantu/ticket/11295: [ticket/11295] Correct cases: replace postgres with phpbb_db_driver_postgres.
This commit is contained in:
commit
a6aec47cb1
@ -186,7 +186,7 @@ class phpbb_database_test_connection_manager
|
|||||||
$this->purge_extras();
|
$this->purge_extras();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'postgres':
|
case 'phpbb_db_driver_postgres':
|
||||||
$this->connect();
|
$this->connect();
|
||||||
// Drop all of the tables
|
// Drop all of the tables
|
||||||
foreach ($this->get_tables() as $table)
|
foreach ($this->get_tables() as $table)
|
||||||
@ -429,7 +429,7 @@ class phpbb_database_test_connection_manager
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'postgres':
|
case 'phpbb_db_driver_postgres':
|
||||||
$sql = 'SELECT sequence_name
|
$sql = 'SELECT sequence_name
|
||||||
FROM information_schema.sequences';
|
FROM information_schema.sequences';
|
||||||
$result = $this->pdo->query($sql);
|
$result = $this->pdo->query($sql);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user