diff --git a/scripts/preorder/custom_notifications/send-preorder-custom-new-notification.php b/scripts/preorder/custom_notifications/send-preorder-custom-new-notification.php index 7de5a1d87..883d6f526 100644 --- a/scripts/preorder/custom_notifications/send-preorder-custom-new-notification.php +++ b/scripts/preorder/custom_notifications/send-preorder-custom-new-notification.php @@ -38,7 +38,6 @@ WHERE p.type = 'order' AND psnl.id IS NULL -- No existing '300-custom-new-order' notification AND p.create > ".$earliest_order_date->getTimestamp()." -- no older than \$earliest_order_date AND p.create < (UNIX_TIMESTAMP(NOW()) - 7200) -- Only consider preorders older than 2 hours - AND p.id=22456 ORDER BY p.id ASC;"; $res = $db->query($sql);