Merge branch 'Task-Caching'

This commit is contained in:
Marion Muszynski 2017-10-30 15:11:31 +01:00
commit c3a0bbd68d
2 changed files with 2 additions and 2 deletions

View File

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

View File

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