partial #1360
This commit is contained in:
parent
1e3b8b7378
commit
49b2bc481b
@ -169,9 +169,9 @@ class Crunchbutton_Promo extends Cana_Table
|
||||
|
||||
public function queNotifySMS() {
|
||||
$gift = $this;
|
||||
c::timeout(function() use( $gift ) {
|
||||
// c::timeout(function() use( $gift ) {
|
||||
$gift->notifySMS();
|
||||
});
|
||||
// });
|
||||
}
|
||||
|
||||
public function queNotifyEMAIL() {
|
||||
@ -241,7 +241,7 @@ class Crunchbutton_Promo extends Cana_Table
|
||||
'method' => '$promo->notifySMS()',
|
||||
'type' => 'promo_sms'
|
||||
]);
|
||||
/*
|
||||
|
||||
$env = c::env() == 'live' ? 'live' : 'dev';
|
||||
|
||||
$twilio = new Twilio(c::config()->twilio->{$env}->sid, c::config()->twilio->{$env}->token);
|
||||
@ -279,7 +279,6 @@ class Crunchbutton_Promo extends Cana_Table
|
||||
$msg
|
||||
);
|
||||
}
|
||||
//*/
|
||||
}
|
||||
|
||||
public static function find($search = []) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user