You are here

function twilio_twiml_uninstall in Twilio 7

Implements hook_uninstall().

File

twilio_twiml/twilio_twiml.install, line 68
Install and uninstall functions for the twiml module.

Code

function twilio_twiml_uninstall() {
  $schema = twilio_twiml_get_schema();

  // Create the tables
  foreach ($schema as $name => $table) {
    if (db_table_exists($name)) {
      db_drop_table($name);
    }
  }
}