Skip to content

Commit 6fdc041

Browse files
authored
Don't purge centrail connections - fix issue caused by writing a regression test (#192)
1 parent f489aba commit 6fdc041

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DatabaseManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ public function reconnect()
5252
{
5353
// Opposite order to connect() because we don't
5454
// want to ever purge the central connection
55-
$this->setDefaultConnection($this->originalDefaultConnectionName);
5655
$this->switchConnection($this->originalDefaultConnectionName);
56+
$this->setDefaultConnection($this->originalDefaultConnectionName);
5757
}
5858

5959
/**

0 commit comments

Comments
 (0)