Posted by MFH on February 6, 2007 at 2:02am
1 follower
Jump to:
| Project: | Conference |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
an uninstall function is easily implemented: in conference.install, add
function conference_uninstall(){
db_query("DROP TABLE {conference}");
}
(I think uninstall usually consists in just dropping the specific database tables.)
See also the suggested "backup conference" function: http://drupal.org/node/116297.
Comments
#1
the uninstall function is implemented in the 5.x version (not yet in the 4.7 version)
it performs DROP TABLE for the conference and conference_decision tables,
but it does not check if node permissions have been disabled :
either the function _disable_ from the main source should be called, or
the uninstall should not be done (and an error message issued) if conference node permissions are still enabled
(b.t.w., it should not be possible de de-activate the conf module when node perm's are active, this might give lockup problems...)