You are here

function better_formats_uninstall in Better Formats 6.2

Same name and namespace in other branches
  1. 6 better_formats.install \better_formats_uninstall()
  2. 7 better_formats.install \better_formats_uninstall()

Implementation of hook_uninstall().

File

./better_formats.install, line 108
Installs the better_formats module.

Code

function better_formats_uninstall() {

  // Remove tables.
  drupal_uninstall_schema('better_formats');

  // Delete settings from varible table.
  $sql = "DELETE FROM {variable}\n          WHERE name LIKE 'better_formats%'";
  db_query($sql);
}