mirror of
https://github.com/archtechx/tenancy.git
synced 2026-09-20 15:34:03 +00:00
Correct FSBootstrapper and DeleteTenantStorage docblocks
getBoundTenantStoragePath() and DeleteTenantStorage both claimed the tenant storage directory is where disks, cache and sessions are scoped to. That's only true when root_override points there and scope_cache/scope_sessions are enabled -- a root_override using %original_storage_path% puts the disk root outside it entirely.
This commit is contained in:
parent
ae77c49985
commit
223b49a395
2 changed files with 9 additions and 6 deletions
|
|
@ -331,8 +331,8 @@ class FilesystemTenancyBootstrapper implements TenancyBootstrapper
|
|||
/**
|
||||
* Get the storage path of the passed tenant (independent of the current context).
|
||||
*
|
||||
* This is the directory the bootstrapper scopes disks, cache and sessions to,
|
||||
* regardless of suffix_storage_path (that config option only affects the storage_path() helper).
|
||||
* The returned path doesn't depend on suffix_storage_path -- that config option
|
||||
* only controls whether storage_path() uses it.
|
||||
*/
|
||||
public static function getBoundTenantStoragePath(Tenant $tenant): string
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue