From e07c115b09ee9f8595853fc4723c29f77d08238c Mon Sep 17 00:00:00 2001 From: Daniel Camargo Date: Tue, 2 Apr 2013 20:35:38 -0300 Subject: [PATCH] partial #951 --- .../default/crunchbutton/api/notification/index.php | 4 ---- include/library/Crunchbutton/Notification.php | 6 +----- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/include/controllers/default/crunchbutton/api/notification/index.php b/include/controllers/default/crunchbutton/api/notification/index.php index 4ff9e33a2..ac01ba572 100644 --- a/include/controllers/default/crunchbutton/api/notification/index.php +++ b/include/controllers/default/crunchbutton/api/notification/index.php @@ -65,10 +65,6 @@ class Controller_api_notification extends Crunchbutton_Controller_Rest { $notification->date = date('Y-m-d H:i:s'); $notification->save(); if ($notification->order()->restaurant()->confirmation) { - Log::debug([ - 'fax' => 'confirm_callbak', - 'type' => 'notification' - ]); $notification->order()->queConfirm(); } } diff --git a/include/library/Crunchbutton/Notification.php b/include/library/Crunchbutton/Notification.php index 934935a7b..52d6e4c40 100644 --- a/include/library/Crunchbutton/Notification.php +++ b/include/library/Crunchbutton/Notification.php @@ -52,11 +52,7 @@ class Crunchbutton_Notification extends Cana_Table if ($order->restaurant()->confirmation && !$order->_confirm_trigger) { $order->_confirm_trigger = true; - Log::debug([ - 'fax' => 'confirm_notification', - 'type' => 'notification' - ]); - // $order->queConfirm(); + $order->queConfirm(); } break;