Garima Posted August 3, 2018 Share Posted August 3, 2018 How do I delete or uninstall modules without getting into the module section in the back office??? Link to comment Share on other sites More sharing options...
Knowband Plugins Posted August 9, 2018 Share Posted August 9, 2018 Hi, Are you trying to uninstall the module from the code OR what? Without coding, there is no other way to achieve the same. If you are trying to uninstall the module from the code, Use the following code in the module OR controller files. $module_name = 'MODULE_NAME'; $module = Module::getInstanceByName($module_name); if (Module::isInstalled($module)) { $module->uninstall(); } I hope it will help. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now