1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-09-20 16:24:03 +00:00

Update src/Jobs/DeleteTenantStorage.php

Co-authored-by: Samuel Stancl <samuel@archte.ch>
This commit is contained in:
lukinovec 2026-08-25 13:36:10 +02:00 committed by Samuel Stancl
parent 2ef1ea94ed
commit bb12443fa6

View file

@ -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;
} }