Magento un-install module

Is there a magento function for installing modules?

Im referring to those modules in particular that modify db. Therefore, the removal actually consists of deleting the module files and cleaning the db behind itself.

  • Automatic removal from the administration area
  • Remove hooks that observers can view
+4
source share
2 answers

Magento does not have a delete or rollback mechanism. An informally accepted rollback process is to perform a rollback operation in an update script. The practice of de facto deletion is to provide a deletion script to run in the database after deleting the module files.

A stub code was created for rollback and delete operations in Mage_Core_Model_Resource_Setup->_getModifySqlFiles() from version 1.0 , but it has not yet been implemented since version 1.7.0.1 .

+1
source

You can start the deletion using the Magento Connect manager; deleting database files is also relatively simple. You might need to take a look at the config.xml file and mysql4-install - #. #. #. Php sql install script. You can find the table names there and the installation entry in the core_resource table.

0
source

All Articles