Conditions | 3 |
Paths | 6 |
Total Lines | 15 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
40 | public function handle() |
||
41 | { |
||
42 | try |
||
43 | { |
||
44 | $logs = Sms_log::where('status','=','offline')->get(); |
||
45 | |||
46 | foreach($logs as $log) |
||
47 | { |
||
48 | $text = urldecode($log->message); |
||
49 | $sender_id = $log->sender_id; |
||
50 | \Utilities::retrySms($sender_id,$log->number,$text,$log); |
||
51 | } |
||
52 | } |
||
53 | catch(\Exception $e) |
||
|
|||
54 | { |
||
55 | |||
60 |