mirror of
https://github.com/archtechx/tenancy.git
synced 2026-09-20 13:34:04 +00:00
Update src/Jobs/DeleteTenantStorage.php
Co-authored-by: Samuel Stancl <samuel@archte.ch>
This commit is contained in:
parent
2ef1ea94ed
commit
bb12443fa6
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ class DeleteTenantStorage implements ShouldQueue
|
||||||
$centralStoragePath = FilesystemTenancyBootstrapper::getBoundCentralStoragePath();
|
$centralStoragePath = FilesystemTenancyBootstrapper::getBoundCentralStoragePath();
|
||||||
|
|
||||||
if (realpath($tenantStoragePath) === realpath($centralStoragePath)) {
|
if (realpath($tenantStoragePath) === realpath($centralStoragePath)) {
|
||||||
// Never delete the central storage directory -- that would delete the files of all tenants
|
// Never delete the central storage directory
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue