dont alert on live
This commit is contained in:
parent
9487bf66df
commit
d0d01a16d9
@ -20,6 +20,10 @@ class Crunchbutton_Notification_Log extends Cana_Table {
|
|||||||
$this->status = 'maxcallbackexceeded';
|
$this->status = 'maxcallbackexceeded';
|
||||||
$this->save();
|
$this->save();
|
||||||
|
|
||||||
|
if (c::env() != 'live') {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
Log::critical([
|
Log::critical([
|
||||||
'id_order' => $this->id_order,
|
'id_order' => $this->id_order,
|
||||||
'id_notification_log' => $this->id_notification_log,
|
'id_notification_log' => $this->id_notification_log,
|
||||||
@ -56,6 +60,10 @@ class Crunchbutton_Notification_Log extends Cana_Table {
|
|||||||
$this->status = 'maxconfirmbackexceeded';
|
$this->status = 'maxconfirmbackexceeded';
|
||||||
$this->save();
|
$this->save();
|
||||||
|
|
||||||
|
if (c::env() != 'live') {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
Log::critical([
|
Log::critical([
|
||||||
'id_order' => $this->id_order,
|
'id_order' => $this->id_order,
|
||||||
'id_notification_log' => $this->id_notification_log,
|
'id_notification_log' => $this->id_notification_log,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user