diff --git a/include/library/Cana.php b/include/library/Cana.php index 89fe654c1..6f0cb8509 100755 --- a/include/library/Cana.php +++ b/include/library/Cana.php @@ -156,8 +156,6 @@ class Cana extends Cana_Model { $cmd = c::config()->dirs->root.'cli/timeout.php'.$sleep.' -c='.str_replace("'",'"',escapeshellarg($encoded)); - Log::debug( [ 'cmd' => $cmd, 'type' => 'timer' ]); - if ($async) { exec('nohup '.$cmd.' > /dev/null 2>&1 &'); } else { diff --git a/include/library/Crunchbutton/Order.php b/include/library/Crunchbutton/Order.php index 63c421c97..9e25b175a 100644 --- a/include/library/Crunchbutton/Order.php +++ b/include/library/Crunchbutton/Order.php @@ -688,7 +688,7 @@ class Crunchbutton_Order extends Cana_Table { $twilio = new Twilio( c::config()->twilio->{$env}->sid, c::config()->twilio->{$env}->token ); - $date = $order->date(); + $date = $this->date(); $date = $date->format( 'M jS Y' ) . ' - ' . $date->format( 'g:i:s A' ); $message = 'The order #' . $this->id_order . ' (' . $date . ') was not confirmed. It was sent ' . $confirmationCallsSent . ' confirmation calls';