mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 22:14:03 +00:00
Don't purge centrail connections - fix issue caused by writing a regression test (#192)
This commit is contained in:
parent
f489aba819
commit
6fdc041f88
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue