By bendqh1 on
I have the module Redirect installed.
I never configured Redirect, I just installed it and that's it --- I never created any manual redirects by myself with this module.
I want to upgrade from Drupal 9 to Drupal 10 the moment Drupal 10 comes out.
If I delete Redirect just before I upgrade, should I encounter any significant problem?
Comments
=-=
uninstall it. Then you can delete it.
If you used composer
If you used
composer requireto download it, make sure you usecomposer removeto delete it.- gisle
Yep, that's what I meant,
Yep, that's what I meant, sorry,
First uninstalling and then deleting.
If I understand correctly, you incline that it shouldn't be problematic in my case (because I didn't create any manual redirects with this module).
Uninstalling and deleting should not create a problem
In general, uninstalling and deleting a Drupal extension does not create problems, provded it is done in the right order and with the right tools.
In Drupal 9/10 uninstalling and deleting has been made more robust than it was in Drupal 7, and is even less likely to cause problems.
Even if you have configured the module (I understand that you have not), a well-behaved module will have a
hook_uninstall()that removes any configuration as part of the uninstall process, There are a few exceptions to this rule, but most Drupal modules do this cleaning up and can safely be uninstalled at any time.- gisle