1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 20:34:03 +00:00

Uncomment cache tagging

This commit is contained in:
lukinovec 2022-12-12 17:10:59 +01:00
parent 3cadefd41c
commit b41d8d19dc

View file

@ -19,7 +19,7 @@ class CacheManager extends BaseCacheManager
public function __call($method, $parameters)
{
// todo0 Make PrefixCacheTenancyBootstrapper work with tags
/* if (tenancy()->initialized) {
if (tenancy()->initialized) {
$tags = [config('tenancy.cache.tag_base') . tenant()?->getTenantKey()];
if ($method === 'tags') {
@ -36,7 +36,7 @@ class CacheManager extends BaseCacheManager
}
return $this->store()->tags($tags)->$method(...$parameters);
} */
}
return parent::__call($method, $parameters);
}