diff --git a/src/PathRedirectImportServiceProvider.php b/src/PathRedirectImportServiceProvider.php index c1432de..d0a7edf 100644 --- a/src/PathRedirectImportServiceProvider.php +++ b/src/PathRedirectImportServiceProvider.php @@ -18,11 +18,11 @@ class PathRedirectImportServiceProvider extends ServiceProviderBase { // module version then disable drush commands and redirect_export before // module "migrate_tools" not enabled in update // "path_redirect_import_update_9001". - $modules = $container->getParameter('container.modules'); - if (!isset($modules['migrate_tools'])) { + //$modules = $container->getParameter('container.modules'); + //if (!isset($modules['migrate_tools'])) { $container->removeDefinition('path_redirect_import.commands'); $container->removeDefinition('path_redirect_import.redirect_export'); - } + //} } }