comment of insert in ps_product_ps_cache in livestats cron
This commit is contained in:
parent
a13a8813ea
commit
5c5ea81e90
@ -10,14 +10,14 @@ $_SERVER['SERVER_NAME'] = 'www.bebeboutik.com';
|
||||
include dirname(__FILE__).'/../../config/config.inc.php';
|
||||
include dirname(__FILE__).'/../../modules/privatesales/Sale.php';
|
||||
|
||||
Db::getInstance()->ExecuteS('
|
||||
INSERT IGNORE INTO `'._DB_PREFIX_.'product_ps_cache` (
|
||||
SELECT `id_product`, `id_sale`
|
||||
FROM `'._DB_PREFIX_.'product` p
|
||||
LEFT JOIN `'._DB_PREFIX_.'privatesale_category` c
|
||||
ON p.`id_category_default` = c.`id_category`
|
||||
)
|
||||
');
|
||||
// Db::getInstance()->ExecuteS('
|
||||
// INSERT IGNORE INTO `'._DB_PREFIX_.'product_ps_cache` (
|
||||
// SELECT `id_product`, `id_sale`
|
||||
// FROM `'._DB_PREFIX_.'product` p
|
||||
// LEFT JOIN `'._DB_PREFIX_.'privatesale_category` c
|
||||
// ON p.`id_category_default` = c.`id_category`
|
||||
// )
|
||||
// ');
|
||||
|
||||
// echo date('Y-m-d', strtotime(date('Y-m-d 00:00:00').' - '.(int) $argv[1].' day'))."\n";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user