Skip to content

Commit f0f4ef0

Browse files
committed
Fix caching
1 parent e26759f commit f0f4ef0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Services/CountryNotAvailableService.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ public function isCountryAllowed($countryId, ShopContextInterface $context)
5252

5353
$allowed = $this->isAllowedCountry($country);
5454

55+
$this->cache->save($allowed, $key, ['Shopware_Config'], 86400);
56+
5557
return $allowed;
5658
}
5759

0 commit comments

Comments
 (0)