From 335bdc1c062b873a9d9d0d7b72095f2ee1248ff4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Fri, 8 Feb 2019 20:27:41 +0100 Subject: [PATCH] Remove unused file [ci skip] --- src/Tenant.php | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 src/Tenant.php diff --git a/src/Tenant.php b/src/Tenant.php deleted file mode 100644 index a921197b..00000000 --- a/src/Tenant.php +++ /dev/null @@ -1,30 +0,0 @@ -uuid = $data['uuid']; - $this->domain = $data['domain'] ?? tenancy()->getTenantById($data['uuid'], 'domain'); - $this->databaseName = $data['database_name'] ?? $this->getDatabaseName($data); - } - - public function getDatabaseName($uuid = null) - { - $uuid = $uuid ?: $this->uuid; - return config('tenancy.database._prefix_base') . $uuid . config('tenancy.database._suffix'); - } -}