setting package ships with auto clear feature

This commit is contained in:
denisdulici 2020-05-23 21:57:03 +03:00
parent 48f73f5d5e
commit 1cd0f22341

View File

@ -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)