botcha.install in BOTCHA Spam Prevention 6.4
Same filename and directory in other branches
Install, update and uninstall functions for the BOTCHA module.
File
botcha.installView source
<?php
/**
* @file
* Install, update and uninstall functions for the BOTCHA module.
*/
function botcha_uninstall() {
drupal_uninstall_module('botcha_base');
}
function botcha_enable() {
// To turn on DBTNG autoload.
dbtng_boot();
// Installing here to avoid missing dependencies.
drupal_install_modules(array(
'botcha_base',
));
module_enable(array(
'botcha_base',
));
cache_clear_all();
}
function botcha_disable() {
module_disable(array(
'botcha_base',
));
}
Functions
Name | Description |
---|---|
botcha_disable | |
botcha_enable | |
botcha_uninstall | @file Install, update and uninstall functions for the BOTCHA module. |