Skip to content
Snippets Groups Projects
Commit 57d40215 authored by Angie Byron's avatar Angie Byron
Browse files

Issue #1019374 by Jody Lynn: Delete book variables on hook_uninstall().

parent 09669835
No related branches found
No related tags found
No related merge requests found
...@@ -17,6 +17,10 @@ function book_install() { ...@@ -17,6 +17,10 @@ function book_install() {
* Implements hook_uninstall(). * Implements hook_uninstall().
*/ */
function book_uninstall() { function book_uninstall() {
variable_del('book_allowed_types');
variable_del('book_child_type');
variable_del('book_block_mode');
// Delete menu links. // Delete menu links.
db_delete('menu_links') db_delete('menu_links')
->condition('module', 'book') ->condition('module', 'book')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment