Jump to content

How to delete "permanent" module


bmacnaughton
 Share

Recommended Posts

I modified an existing module to experiment with creating an Inputfield module. While core modules are good examples, I shouldn't have copied the "permanent => true" part in getModuleInfo.

Can I just delete that record in the modules table in the DB or are there dependencies I need to clean up?

Link to comment
Share on other sites

You should be able to set permanent=false in your module info, and then in your admin do a Modules > Refresh. But if that doesn't do it, you could always update the 'flags' column for that module to be 0 (in the modules table), and then after a Modules > Refresh it should definitely let you uninstall/remove it. 

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...