summaryrefslogtreecommitdiffstats
path: root/core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php')
-rw-r--r--core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php b/core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php
index 70d9a33..e3312d2 100644
--- a/core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php
+++ b/core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php
@@ -58,7 +58,7 @@ class Tasks extends InstallTasks {
protected function connect() {
try {
// This doesn't actually test the connection.
- db_set_active();
+ Database::setActiveConnection();
// Now actually do a check.
Database::getConnection();
$this->pass('Drupal can CONNECT to the database ok.');