Skip to content

Commit

Permalink
Don't purge centrail connections - fix issue caused by writing a regr…
Browse files Browse the repository at this point in the history
…ession test (#192)
  • Loading branch information
stancl authored Oct 20, 2019
1 parent f489aba commit 6fdc041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DatabaseManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ public function reconnect()
{
// 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);
}

/**
Expand Down

0 comments on commit 6fdc041

Please sign in to comment.