You are here

function rotor_uninstall in Rotor Banner 6

Same name and namespace in other branches
  1. 5.7 rotor.install \rotor_uninstall()
  2. 5 rotor.install \rotor_uninstall()
  3. 6.2 rotor.install \rotor_uninstall()
  4. 7 rotor.install \rotor_uninstall()

Implementation of hook_uninstall().

File

./rotor.install, line 21
Provides install and uninstall functions for rotor.

Code

function rotor_uninstall() {
  drupal_uninstall_schema('rotor');
  db_query("DELETE FROM {variable} WHERE name LIKE 'rotor_%'");
  drupal_set_message(t('Rotor Banner unistalled'));
}