mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 19:14:04 +00:00
revert Tenancy changes, fix failing tests
This commit is contained in:
parent
02faf2407f
commit
5f41647a6b
2 changed files with 8 additions and 6 deletions
|
|
@ -68,11 +68,13 @@ class Tenancy
|
|||
|
||||
event(new Events\EndingTenancy($this));
|
||||
|
||||
// todo find a way to refactor these two methods
|
||||
|
||||
event(new Events\TenancyEnded($this));
|
||||
|
||||
$this->tenant = null;
|
||||
|
||||
$this->initialized = false;
|
||||
|
||||
event(new Events\TenancyEnded($this));
|
||||
}
|
||||
|
||||
/** @return TenancyBootstrapper[] */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue