diff --git a/include/library/Crunchbutton/Order.php b/include/library/Crunchbutton/Order.php index 162943a31..6a0389e82 100644 --- a/include/library/Crunchbutton/Order.php +++ b/include/library/Crunchbutton/Order.php @@ -595,12 +595,10 @@ class Crunchbutton_Order extends Cana_Table { public function resend_notify(){ $order = $this; - Log::debug([ 'order' => $order->id_order, 'action' => 'restarting starting notification', 'type' => 'notification']); - $order->confirmed = 0; - $order->save(); + // Log::debug([ 'order' => $order->id_order, 'action' => 'restarting starting notification', 'type' => 'notification']); // Delete all the notification log in order to start a new one - Notification_Log::DeleteFromOrder( $order->id_order ); - Log::debug([ 'order' => $order->id_order, 'action' => 'deleted previous notifications', 'type' => 'notification']); + // Notification_Log::DeleteFromOrder( $order->id_order ); + // Log::debug([ 'order' => $order->id_order, 'action' => 'deleted previous notifications', 'type' => 'notification']); $order->notify(); }