Permalink
Browse files

Database fix in cron

  • Loading branch information...
1 parent 85f4669 commit 57a5b512ec24df3463f9bca5207c8b6ea10cffbb @chadsmith committed May 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 queue.php
View
@@ -15,7 +15,7 @@
$twilio->request("Accounts/{$twilio_sid}/SMS/Messages", 'POST', array('From' => $event->callerId, 'To' => $event->number, 'Body' => $event->data->message));
else
$twilio->request("Accounts/{$twilio_sid}/Calls", 'POST', array('From' => $event->callerId, 'To' => $event->number, 'Url' => site_url(($tenant->url_prefix ? $tenant->url_prefix . '/' : '') . 'twiml/start/voice/' . $event->data->id)));
- $ci->db->delete('queue', array('id' => $event->id));
+ $ci->db->delete('outbound_queue', array('id' => $event->id));
}
}
die;

0 comments on commit 57a5b51

Please sign in to comment.