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

philiphart - May 11, 2009 - 11:20

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

pebosi - July 24, 2009 - 13:13
Status:needs work» needs review

Created a patch for that.

regards

AttachmentSize
menutrails-377476.patch 696 bytes

#3

sun - July 24, 2009 - 14:47
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.

#4

System Message - August 7, 2009 - 14:50
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.