setting package ships with auto clear feature
This commit is contained in:
parent
48f73f5d5e
commit
1cd0f22341
@ -67,10 +67,6 @@ class Modules
|
||||
{
|
||||
Cache::forget(static::getPaymentMethodsCacheKey('admin'));
|
||||
Cache::forget(static::getPaymentMethodsCacheKey('customer'));
|
||||
|
||||
if (config('setting.cache.enabled')) {
|
||||
Cache::forget(setting()->getCacheKey());
|
||||
}
|
||||
}
|
||||
|
||||
public static function getPaymentMethodsCacheKey($type)
|
||||
|
Loading…
x
Reference in New Issue
Block a user