flush sale cache before loading sales
This commit is contained in:
parent
1fcc90846e
commit
fe13931fbc
@ -30,6 +30,9 @@ class Catalog
|
||||
|
||||
public function setContent($version = 'fr')
|
||||
{
|
||||
// Flush to load the good sales
|
||||
CacheRedis::getInstance()->clear('sale*');
|
||||
|
||||
$test_for_tomorrow = (int)Tools::getValue('tomorrow',0);
|
||||
|
||||
$sales_today = array();
|
||||
|
Loading…
Reference in New Issue
Block a user