om_tools.install in OM Tools 6
Same filename and directory in other branches
Install script to install the OM Tools module
File
om_tools.installView source
<?php
/**
 * @file
 * Install script to install the OM Tools module
 *
 */
/**
 * Implementation of hook_uninstall().
 */
function om_tools_uninstall() {
  $result = db_query("SELECT * FROM {variable} WHERE name LIKE 'om_tools_%'");
  while ($record = db_fetch_object($result)) {
    variable_del($record->name);
  }
}Functions
| 
            Name | 
                  Description | 
|---|---|
| om_tools_uninstall | Implementation of hook_uninstall(). |