Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

General Module Uninstall Question


Reply

3 Posts   1010 Views

Avatar
GRD

5 August 2010 at 1:56am Community Member, 2 Posts

Hi All,

I'm new to SilverStripe and just have a quick question. If I install a module and it causes some sort of problem with my current SilverStripe set up, can I just delete the new module and rebuild the database to go back to where I was before I added the module. I have tested this on a development server but have not tried it on a live site so I just want to make sure this is how it works in case I experience problems on the live site.

Thanks for your help.

Gloria

Avatar
UncleCheese

5 August 2010 at 2:13am 4085 Posts

The tables won't be deleted. I believe they'll get renamed to _obsolete_[table_name]. That way, if you ever re-install, it will recover your data, and if you ever want to do some more permanent housecleaning, you can rest assured that any table named "_obsolete" can be deleted.

Note: this works only for SiteTree descendants -- not DataObjects, since there's no way of knowing they aren't being used.

Avatar
GRD

5 August 2010 at 3:14am Community Member, 2 Posts

Thank you for your quick response. The module I am looking to install is the User Form module. We had someone build our site with SilverStripe but now we are trying to install the module. It sounds like if I encounter problems, I can just delete module and although the info will stay in the table it will not be active so to speak. I just don't want to crash our site by installing the new module.