Jump to content

Un Install unused addon modules (including removing sql database)

Recommended Posts

Hello there

I have some modules that currently inactive (do not use it anymore), and I need to remove it from my installation. I know I can go on setting on addon modules



Bu I still saw those sql tables on PhpMyAdmin


Can I just delete then on php my admin to? There is some modules to be deleted.

I guess they are also using some space, and my backup plan charge me for that, so why have them there and paying extra costs for that.


Link to comment
Share on other sites

Not all developers implement _deactivate() function that's why you end up with unused tables in database.

Of course you can delete all tables prefixed with crm_ but be advised that there's a chance this triggers fatal errors somewhere. It depends on how the module was coded.

For example if for some crazy reason the module uses an action hook outside its folder (includes/hooks) and the hook performs a query on a deleted table... Oops something went wrong. Or again if the module needed some file to be included in configuration.php it will probably cause troubles.

Simply put, delete all these tables but make sure that front & backend still load correctly.


Link to comment
Share on other sites

21 hours ago, Kian said:

Simply put, delete all these tables but make sure that front & backend still load correctly.

or perhaps a safer route would be to rename the tables, *then* see if the front/back are running with no errors and if no negative issues, then you can delete the tables... if errors, rename them back and then investigate a better way of removing them.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated