Merge branch 'Task-Caching'
This commit is contained in:
commit
c3a0bbd68d
@ -476,7 +476,7 @@ class AdminLabelGenerate extends AdminTab {
|
||||
$helperForm->_inputSwitch = true;
|
||||
|
||||
$id_sale_options = array();
|
||||
foreach(Sale::getSales(NULL, NULL, NULL, NULL, FALSE, FALSE, '`date_start` DESC', 500) as $sale) {
|
||||
foreach(Sale::getSalesBack(NULL, NULL, NULL, NULL, FALSE, FALSE, '`date_start` DESC', 500) as $sale) {
|
||||
|
||||
|
||||
$id_sale_options[(int)$sale->id] = array(
|
||||
|
@ -5,7 +5,7 @@ $_SERVER['HTTP_HOST'] = 'www.bebeboutik.com';
|
||||
|
||||
include(dirname(__FILE__).'/../../config/config.inc.php');
|
||||
include(dirname(__FILE__).'/Sale.php');
|
||||
$sales = Sale::getSales(TRUE, NULL, NULL, FALSE);
|
||||
$sales = Sale::getSalesBack(TRUE, NULL, NULL, FALSE);
|
||||
|
||||
$file = fopen('lastupdate.txt', 'w');
|
||||
fwrite($file, date('Ymd His'));
|
||||
|
Loading…
Reference in New Issue
Block a user