summaryrefslogtreecommitdiffstats
path: root/core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php')
-rw-r--r--core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php b/core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php
index 67f2526..6a639d7 100644
--- a/core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php
+++ b/core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php
@@ -59,7 +59,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.
try {
Database::getConnection();