I think that this should do the trick:

/**
 * 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.

CommentFileSizeAuthor
#2 menutrails-377476.patch696 bytespebosi

Comments

philiphart’s picture

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?

pebosi’s picture

Status: Needs work » Needs review
StatusFileSize
new696 bytes

Created a patch for that.

regards

sun’s picture

Status: Needs review » Fixed

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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.