Using an SQL Query :

Drupal 7 

DELETE from system where type = 'module' AND name = 'old_module1';

Drupal 8

DELETE FROM key_value WHERE collection='system.schema' AND name='module_name';

Book Your Free Consultation

Submit your name and email below to schedule your free 15 minute initial consultation to see how we can help your business succeed