partial #1049 - removed the log
This commit is contained in:
parent
dd23721c06
commit
7f2122929d
@ -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 {
|
||||
|
||||
@ -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';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user