Jump to:

10979 Posts in 2722 Topics by 1815 members

All other Modules

SilverStripe Forums » All other Modules » remove module 3-0-2

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 515 Views
  • felito
    Avatar
    Community Member
    10 Posts

    remove module 3-0-2 Link to this post

    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.

  • kinglozzer
    Avatar
    Community Member
    139 Posts

    Re: remove module 3-0-2 Link to this post

    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.

  • Matty Balaam
    Avatar
    Community Member
    69 Posts

    Re: remove module 3-0-2 Link to this post

    Database fields will hang around unless you remove them manually.

  • felito
    Avatar
    Community Member
    10 Posts

    Re: remove module 3-0-2 Link to this post

    My question is related with this situation:

    https://github.com/silverstripe/silverstripe-userforms/issues/71

    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.

    Any idea?

    Ps: I think there is no obsolete name in the tables of the module that is deleted.

    515 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.