This commit is contained in:
Daniel Camargo 2013-05-28 10:56:07 -03:00
parent 1e3b8b7378
commit 49b2bc481b

View File

@ -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 = []) {