[Bb-trac] [bbPress] #624: plugin_deactivate hook

bbPress bb-trac at lists.bbpress.org
Mon Mar 26 13:37:48 GMT 2007


#624: plugin_deactivate hook
----------------------+-----------------------------------------------------
 Reporter:  Null      |       Owner:     
     Type:  defect    |      Status:  new
 Priority:  normal    |   Milestone:  1.0
Component:  Back-end  |     Version:  0.8
 Severity:  normal    |    Keywords:     
----------------------+-----------------------------------------------------
 The idea for this is that, when a plugin gets deactivated (and/or
 deleted), it will remove the table(s) or row(s) the plugin created (if any
 are created by it ofcourse).

 So in the plugin itself, something like this should be added:

 on plugin(name)_deactivate -> drop table X

 OR if it only created a row:

 on plugin(name)_deactivate -> drop row X

 This way we can keep our database much cleaner :)

-- 
Ticket URL: <http://trac.bbpress.org/ticket/624>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list