1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-13 01:34:02 +00:00

Update DatabaseConfig.php

This commit is contained in:
Abrar Ahmad 2022-09-28 16:20:10 +05:00
parent 8c857bbd61
commit 71c877535c

View file

@ -150,7 +150,6 @@ class DatabaseConfig
*/
public function purgeHostConnection(): void
{
$databaseManager = app(Database\DatabaseManager::class);
$tenantHostConnectionName = $this->getTenantHostConnectionName();
if (array_key_exists($tenantHostConnectionName, DB::getConnections())) {