Update file sizes and modification times for class files in FTP sync cache
This commit is contained in:
8
.vscode/ftp-kr.sync.cache.json
vendored
8
.vscode/ftp-kr.sync.cache.json
vendored
@@ -35,14 +35,14 @@
|
||||
},
|
||||
"class.Cron.php": {
|
||||
"type": "-",
|
||||
"size": 20273,
|
||||
"lmtime": 1744063175514,
|
||||
"size": 20797,
|
||||
"lmtime": 1745446362787,
|
||||
"modified": false
|
||||
},
|
||||
"class.Products.php": {
|
||||
"type": "-",
|
||||
"size": 8915,
|
||||
"lmtime": 1744489800429,
|
||||
"size": 8924,
|
||||
"lmtime": 1745445544980,
|
||||
"modified": false
|
||||
},
|
||||
"class.Site.php": {
|
||||
|
||||
@@ -259,7 +259,7 @@ class Cron
|
||||
$conversions_value = $offer['conversions_value'];
|
||||
$roas = ( $conversions_value > 0 and $cost ) ? round( $conversions_value / $cost, 2 ) * 100 : 0;
|
||||
|
||||
if ( $day_count >= 30 )
|
||||
if ( $mdb -> count( 'products_history', [ 'AND' => [ 'product_id' => $product_id, 'date_add[<=]' => $date_to ] ] ) >= 30 )
|
||||
{
|
||||
if ( $mdb -> count( 'products_history_30', [ 'AND' => [ 'product_id' => $product_id, 'date_add' => $date_to ] ] ) > 0 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user