From d6c4e2a1be8a086bdb8603633c3bc52be38031e6 Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Mon, 23 May 2011 21:14:37 -0400 Subject: [PATCH] - Patch #1019352 by Jody Lynn: delete blog module's variable on hook_uninstall(). --- modules/blog/blog.install | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/blog/blog.install b/modules/blog/blog.install index f591e7163110..fffb14b837c8 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'); +} -- GitLab