This module inserts some tables in the database, so it can be seen as an usability bug not to have an uninstaller. Drupal 5 expects uninstallers to be available.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | eventrepeat_uninstall.patch | 1.38 KB | seanbfuller |
This module inserts some tables in the database, so it can be seen as an usability bug not to have an uninstaller. Drupal 5 expects uninstallers to be available.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | eventrepeat_uninstall.patch | 1.38 KB | seanbfuller |
Comments
Comment #1
seanbfuller commentedI can definitely do that, but I have a question: removing all my tables and settings will potentially orphan many events. Additionally, once event_repeat_nodes is gone, all these nodes will never have a way to be references as a set, meaning you can't delete the whole group.
Would it be better for me to:
1. Put the installer in place, but not worry about the database tables?
2. Delete all repeating events (this has the potential of killing a server.)
Since this module will either be retired, or rewritten to no long use nodes as instances of repeating events, I'm leaning towards the first option, but I understand the usability issue.
Advice is welcome. (and thanks for the heads up)
Comment #2
seanbfuller commentedI took another pass at the uninstaller, thinking this would help testing the upcoming changes. I think I get it now. I was thinking that uninstall happens at the point of disabling a module, which is where my comments above were coming from. Now I understand that uninstalling is a way to clean out the module after disabling it. My apologies for the confusion. Here is a patch.
Comment #3
Farreres commentedYes, I am sorry for not having replied you. Uninstall means remove any trace of this module having been installed, database tables mainly.
I suppose you will apply the patch and generate a new dev or stable version to test.
Comment #4
nancydruI always like to include a watchdog entry as well, and usually identify the user doing the unistall. I do the same in the install.
Otherwise, looks good.
Comment #5
seanbfuller commentedI'll roll up a new version with the watchdog entry that identifies the user.
Comment #6
seanbfuller commentedI've added the uninstaller and modified feedback feedback for the install hook. Committed for both 5.x-1.x and 5.x-2.x.
Comment #7
(not verified) commented