om_tools.install in OM Tools 6.2
Same filename and directory in other branches
Install script to install the OM Tools
@author: Daniel Honrade http://drupal.org/user/351112
File
om_tools.installView source
<?php
// $Id$
/**
* @file
* Install script to install the OM Tools
*
* @author: Daniel Honrade http://drupal.org/user/351112
*
*/
/**
* Implementation of hook_install().
*/
function om_tools_install() {
// Make sure this module called last
// to override any form provided by other modules
db_query("UPDATE {system} SET weight = 1000 WHERE name = 'om_tools'");
}
/**
* Implementation of hook_uninstall().
*/
function om_tools_uninstall() {
variable_del('om_tools');
variable_del('om_tools_backup');
}
Functions
Name | Description |
---|---|
om_tools_install | Implementation of hook_install(). |
om_tools_uninstall | Implementation of hook_uninstall(). |