mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-16 00:14:02 +00:00
Clean endTenancy() calls at the end of commands
This commit is contained in:
parent
6b103cd2cb
commit
553b162930
5 changed files with 7 additions and 10 deletions
|
|
@ -60,8 +60,6 @@ class Run extends Command
|
|||
|
||||
if ($originalTenant) {
|
||||
tenancy()->initialize($originalTenant);
|
||||
} else {
|
||||
tenancy()->endTenancy();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue