summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-05-30 20:46:08 -0700
committerwebchick <webchick@24967.no-reply.drupal.org>2011-05-30 20:46:08 -0700
commit57d40215f82c4bc280456d3831b652c1ff9fdf90 (patch)
tree93d4f3515049e3ba6c8709bdfe907509fdc72dba /modules
parent09669835c48db5a433d1cc2b8923c2ed11ba7005 (diff)
downloadbrdo-57d40215f82c4bc280456d3831b652c1ff9fdf90.tar.gz
brdo-57d40215f82c4bc280456d3831b652c1ff9fdf90.tar.bz2
Issue #1019374 by Jody Lynn: Delete book variables on hook_uninstall().
Diffstat (limited to 'modules')
-rw-r--r--modules/book/book.install4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/book/book.install b/modules/book/book.install
index 1bd094c23..e92aca6e4 100644
--- a/modules/book/book.install
+++ b/modules/book/book.install
@@ -17,6 +17,10 @@ function book_install() {
* Implements hook_uninstall().
*/
function book_uninstall() {
+ variable_del('book_allowed_types');
+ variable_del('book_child_type');
+ variable_del('book_block_mode');
+
// Delete menu links.
db_delete('menu_links')
->condition('module', 'book')