1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 21:54:03 +00:00

Don't purge centrail connections - fix issue caused by writing a regression test (#192)

This commit is contained in:
Samuel Štancl 2019-10-20 09:45:03 +02:00 committed by GitHub
parent f489aba819
commit 6fdc041f88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}
/**