diff options
author | Dries Buytaert <dries@buytaert.net> | 2011-05-23 21:15:01 -0400 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2011-05-23 21:15:01 -0400 |
commit | dfa37ba30469dcc89fdf3cc00b7b50f449a63440 (patch) | |
tree | dafa4c366a574ca9e98c8e0af5c1710bd2d994d1 | |
parent | 224aae4b65e9cecfabcea4745d2ea031ab5c491a (diff) | |
download | brdo-dfa37ba30469dcc89fdf3cc00b7b50f449a63440.tar.gz brdo-dfa37ba30469dcc89fdf3cc00b7b50f449a63440.tar.bz2 |
- Patch #1019352 by Jody Lynn: delete blog module's variable on hook_uninstall().
-rw-r--r-- | modules/blog/blog.install | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/blog/blog.install b/modules/blog/blog.install index f591e7163..fffb14b83 100644 --- a/modules/blog/blog.install +++ b/modules/blog/blog.install @@ -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'); +} |