You are here

function om_tools_uninstall in OM Tools 7

Same name and namespace in other branches
  1. 8.2 om_tools.install \om_tools_uninstall()
  2. 8 om_tools.install \om_tools_uninstall()
  3. 6.2 om_tools.install \om_tools_uninstall()
  4. 6 om_tools.install \om_tools_uninstall()
  5. 7.2 om_tools.install \om_tools_uninstall()

Implementation of hook_uninstall().

File

./om_tools.install, line 11
Install script to install the OM Tools module

Code

function om_tools_uninstall() {
  $result = db_query("SELECT * FROM {variable} WHERE name LIKE 'om_tools_%'");
  while ($record = $result
    ->fetchObject()) {
    variable_del($record->name);
  }
}