Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / lib / Drupal / Core / Database / Install / Tasks.php
index a2ea41b0d891c7443fdf557aa514fc3dc899ef88..44bddea81da7979006223c434c33671a2ef6d4f2 100644 (file)
@@ -156,7 +156,7 @@ abstract class Tasks {
   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.');