Hello - attached is a small patch that skips the checking of dependencies of modules when they are being disabled in a pattern. This more closely matches the functionality of Drupal. I ran into this when scripting out some sites and having to at least download all the dependencies for modules that I hadn't enabled.
| Comment | File | Size | Author |
|---|---|---|---|
| pattern_dont_enforce_disabled_module_dependencies.patch | 865 bytes | dylanvaughn |
Comments
Comment #1
vaish commentedGood catch. I just moved the check for $data['delete'] to elseif statement in order to completely prevent checking for dependencies, instead of only preventing the error from showing up.
Thanks for the patch.