You are here

function twilio_twiml_delete in Twilio 7

Update a TwiML entry in the DB.

Parameters

int $twiml_id: String - The machine name of the TwiML to delete.

Return value

bool TRUE or FALSE

1 call to twilio_twiml_delete()
twilio_twiml_delete_confirm_submit in twilio_twiml/twilio_twiml.admin.inc
Executes TwiML deletion.

File

twilio_twiml/twilio_twiml.module, line 93
Twilio TwiML module

Code

function twilio_twiml_delete($twiml_id) {
  return db_delete('twilio_twiml')
    ->condition('twiml_id', $twiml_id)
    ->execute();
}