10930 Posts in 2613 Topics by 1810 members
|Go to End|
15 November 2012 at 3:08pm Last edited: 15 November 2012 3:15pm
What is the correct way to remove a module?
For example, if i have the module folder in the root, delete this folder, and run dev/build, the module will be removed, also the database fields?
Or there is a specific folder where the modules are installed ? What i want is a full cleanup of a specific module.
15 November 2012 at 10:08pm
The module should be in the root folder, simply delete the folder and do a dev/build, possibly a ?flush=1 if you get any template errors.
I'm not sure if the database tables are actually removed, I would guess that SilverStripe keeps them and renames them to _obsolete_<tablename> or something, the same way it does with page types. Leaving the 'obsolete' database fields there won't cause any problems, unless they contain really sensitive information and you want to remove them.
15 November 2012 at 11:20pm
Database fields will hang around unless you remove them manually.
16 November 2012 at 2:36am Last edited: 16 November 2012 2:38am
My question is related with this situation:
I report as a bug, but i am not sure what is really happening.
I also tried remove the old tables created by the model (querying the information_schema and date of creation), but the situation still happen.
Ps: I think there is no obsolete name in the tables of the module that is deleted.
|Go to Top|