uninstall

MFH - February 6, 2007 - 02:02
Project:Conference
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

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.

#1

MFH - February 28, 2007 - 05:04
Version:4.7.x-1.x-dev» 5.x-1.x-dev

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...)

 
 

Drupal is a registered trademark of Dries Buytaert.