From 08dbc20edabd803a3a0aea6cdacb78d4f87a187b Mon Sep 17 00:00:00 2001 From: Daniel Camargo Date: Thu, 23 May 2013 14:16:25 -0300 Subject: [PATCH] partial #1200 --- include/library/Crunchbutton/Order.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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(); }