You are here

function formassembly_uninstall in FormAssembly 7

Implementation of hook_uninstall().

File

./formassembly.install, line 110
The Drupal .install file for the formassembly module

Code

function formassembly_uninstall() {
  $result = db_query("SELECT v.name FROM {variable} v WHERE v.name LIKE 'formassembly_%'");
  foreach ($result as $var) {
    variable_del($var->name);
  }
  field_delete_field('fa_query_params');
  db_drop_table('formassembly');
}