Now all modules are in core modules folder
This commit is contained in:
parent
5ba1cdfa0b
commit
05b6a91b0c
1907 changed files with 0 additions and 0 deletions
19
modules/customerror/customerror.install
Normal file
19
modules/customerror/customerror.install
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Install and uninstall hooks.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_uninstall().
|
||||
*/
|
||||
function customerror_uninstall() {
|
||||
db_query("DELETE FROM {variable} WHERE name LIKE 'customerror_%'");
|
||||
|
||||
foreach (_customerror_enum_errors() as $code => $desc) {
|
||||
if (variable_get('site_' . $code, '') == 'customerror/' . $code) {
|
||||
variable_del('site_' . $code, '');
|
||||
}
|
||||
}
|
||||
}
|
Reference in a new issue