No uninstall hook
drewish - February 19, 2009 - 22:21
| Project: | Menu Trails |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
I think that this should do the trick:
<?php
/**
* Implementation of hook_uninstall().
*/
function menutrails_uninstall() {
variable_del('menutrails_breadcrumbs');
variable_del('menutrails_menu');
variable_del('menutrails_node_types');
variable_del('menutrails_terms');
variable_del('menutrails_og_group_menu');
variable_del('menutrails_og_node');
variable_del('menutrails_og_post_default');
variable_del('menutrails_og_sub_pages');
}
?>Not a real patch so setting to CNW.

#1
We have noticed that disabling menu trails on the drupal modules page does not stop menu trails functioning?
Is this bug report/suggestion supposed to fix this in the next version or is it unrelated?
#2
Created a patch for that.
regards
#3
Thanks for reporting, reviewing, and testing! Committed to 6.x.
A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.
#4
Automatically closed -- issue fixed for 2 weeks with no activity.