Remove old outdated code

[MAILPOET-3814]
This commit is contained in:
Pavel Dohnal
2021-10-13 11:24:43 +02:00
committed by Veljko V
parent cc76882164
commit cfa87a165d
2 changed files with 6 additions and 32 deletions

View File

@@ -60,8 +60,6 @@ class WooCommercePastOrders extends SimpleWorker {
}
foreach ($orderIds as $orderId) {
// clean all records for given order to fix wrong data inserted by a past buggy version
StatisticsWooCommercePurchases::where('order_id', $orderId)->deleteMany();
$this->woocommercePurchases->trackPurchase($orderId, false);
}