From 6fdc041f888b75c59c555c738a6cdee8b9ecc5c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Sun, 20 Oct 2019 09:45:03 +0200 Subject: [PATCH] Don't purge centrail connections - fix issue caused by writing a regression test (#192) --- src/DatabaseManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DatabaseManager.php b/src/DatabaseManager.php index 3a42d3b0..6d580c1a 100644 --- a/src/DatabaseManager.php +++ b/src/DatabaseManager.php @@ -52,8 +52,8 @@ class DatabaseManager { // Opposite order to connect() because we don't // want to ever purge the central connection - $this->setDefaultConnection($this->originalDefaultConnectionName); $this->switchConnection($this->originalDefaultConnectionName); + $this->setDefaultConnection($this->originalDefaultConnectionName); } /**