Enable or disable a module

Last modified: November 8, 2008 - 20:29

The following snippets enable or disable a module. If installing a module causes a problem which prevents your ability to administer modules to disable it, you can disable the module in your database.

Enable the module with the name example:

UPDATE `system` SET status=1 WHERE name='example';

Disable the module example:

UPDATE `system` SET status=0 WHERE name='example';

 
 

Drupal is a registered trademark of Dries Buytaert.