You are here

function fivestar_uninstall in Fivestar 6

Same name and namespace in other branches
  1. 5 fivestar.install \fivestar_uninstall()
  2. 6.2 fivestar.install \fivestar_uninstall()
  3. 7.2 fivestar.install \fivestar_uninstall()

File

./fivestar.install, line 19
Installation file for fivestar module.

Code

function fivestar_uninstall() {
  drupal_uninstall_schema('fivestar');
  db_query("DELETE FROM {variable} WHERE name LIKE 'fivestar_%'");
  if (module_exists('content')) {
    content_notify('uninstall', 'fivestar');
  }
}