mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 17:24:03 +00:00
Make CacheManager::$addTags default to true
This commit is contained in:
parent
87efdd2954
commit
7092f4c856
3 changed files with 1 additions and 5 deletions
|
|
@ -11,7 +11,7 @@ use Illuminate\Cache\Repository;
|
||||||
|
|
||||||
class CacheManager extends BaseCacheManager
|
class CacheManager extends BaseCacheManager
|
||||||
{
|
{
|
||||||
public static bool $addTags = false;
|
public static bool $addTags = true;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add tags and forward the call to the inner cache store.
|
* Add tags and forward the call to the inner cache store.
|
||||||
|
|
|
||||||
|
|
@ -14,8 +14,6 @@ beforeEach(function () {
|
||||||
CacheTenancyBootstrapper::class,
|
CacheTenancyBootstrapper::class,
|
||||||
]]);
|
]]);
|
||||||
|
|
||||||
CacheManager::$addTags = true;
|
|
||||||
|
|
||||||
Event::listen(TenancyInitialized::class, BootstrapTenancy::class);
|
Event::listen(TenancyInitialized::class, BootstrapTenancy::class);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,8 +17,6 @@ beforeEach(function () {
|
||||||
CacheTenancyBootstrapper::class,
|
CacheTenancyBootstrapper::class,
|
||||||
]]);
|
]]);
|
||||||
|
|
||||||
CacheManager::$addTags = true;
|
|
||||||
|
|
||||||
Event::listen(TenancyInitialized::class, BootstrapTenancy::class);
|
Event::listen(TenancyInitialized::class, BootstrapTenancy::class);
|
||||||
Event::listen(TenancyEnded::class, RevertToCentralContext::class);
|
Event::listen(TenancyEnded::class, RevertToCentralContext::class);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue