partial #1049 - removed the log

This commit is contained in:
Daniel Camargo 2013-04-11 13:04:44 -03:00
parent dd23721c06
commit 7f2122929d
2 changed files with 1 additions and 3 deletions

View File

@ -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 {

View File

@ -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';