- Patch #1019352 by Jody Lynn: delete blog module's variable on hook_uninstall().
parent
224aae4b65
commit
dfa37ba304
|
@ -14,3 +14,10 @@ function blog_install() {
|
|||
$types = node_type_get_types();
|
||||
node_add_body_field($types['blog']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_uninstall().
|
||||
*/
|
||||
function blog_uninstall() {
|
||||
variable_del('blog_block_count');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue