1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 12:04:03 +00:00

Don't purge centrail connections - fix issue caused by writing a regression test

This commit is contained in:
Samuel Štancl 2019-10-20 09:44:06 +02:00
parent 479df83027
commit 906145ddf0

View file

@ -52,8 +52,8 @@ class DatabaseManager
{ {
// Opposite order to connect() because we don't // Opposite order to connect() because we don't
// want to ever purge the central connection // want to ever purge the central connection
$this->setDefaultConnection($this->originalDefaultConnectionName);
$this->switchConnection($this->originalDefaultConnectionName); $this->switchConnection($this->originalDefaultConnectionName);
$this->setDefaultConnection($this->originalDefaultConnectionName);
} }
/** /**