From b41d8d19dc5fb4b98712197a5affa51ba1e692fe Mon Sep 17 00:00:00 2001 From: lukinovec Date: Mon, 12 Dec 2022 17:10:59 +0100 Subject: [PATCH] Uncomment cache tagging --- src/CacheManager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CacheManager.php b/src/CacheManager.php index 92013919..8eddb67d 100644 --- a/src/CacheManager.php +++ b/src/CacheManager.php @@ -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); }