- Patch #1019352 by Jody Lynn: delete blog module's variable on hook_uninstall().

merge-requests/26/head
Dries Buytaert 2011-05-23 21:15:01 -04:00
parent 224aae4b65
commit dfa37ba304
1 changed files with 7 additions and 0 deletions

View File

@ -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');
}