mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 20:44:03 +00:00
Uncomment cache tagging
This commit is contained in:
parent
3cadefd41c
commit
b41d8d19dc
1 changed files with 2 additions and 2 deletions
|
|
@ -19,7 +19,7 @@ class CacheManager extends BaseCacheManager
|
||||||
public function __call($method, $parameters)
|
public function __call($method, $parameters)
|
||||||
{
|
{
|
||||||
// todo0 Make PrefixCacheTenancyBootstrapper work with tags
|
// todo0 Make PrefixCacheTenancyBootstrapper work with tags
|
||||||
/* if (tenancy()->initialized) {
|
if (tenancy()->initialized) {
|
||||||
$tags = [config('tenancy.cache.tag_base') . tenant()?->getTenantKey()];
|
$tags = [config('tenancy.cache.tag_base') . tenant()?->getTenantKey()];
|
||||||
|
|
||||||
if ($method === 'tags') {
|
if ($method === 'tags') {
|
||||||
|
|
@ -36,7 +36,7 @@ class CacheManager extends BaseCacheManager
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->store()->tags($tags)->$method(...$parameters);
|
return $this->store()->tags($tags)->$method(...$parameters);
|
||||||
} */
|
}
|
||||||
|
|
||||||
return parent::__call($method, $parameters);
|
return parent::__call($method, $parameters);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue