bernhard Posted April 4, 2021 Share Posted April 4, 2021 I'm having all my projects under GIT and that's great. Whenever I add something to the project the files are on the live system and I can use $rm->installModule("Foo") to install that module. But when I want to REMOVE a module, that's a little different. I can delete all the files locally and push the changes to the server. The module will not be loaded any more because the files don't exist. But processwire will try to load the module and recent versions even show a warning. So I wonder if it's enough to remove the module from the modules table like this: $database->exec("DELETE FROM modules WHERE class='Foo'"); It seems to work, but I'd be happy to know if I'm missing anything here? ? Link to comment Share on other sites More sharing options...
horst Posted April 4, 2021 Share Posted April 4, 2021 For me it always was enough to remove unwanted entries from the modules table, regardless if the files were removed or still available. 1 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