Closed (fixed)
Project:
Patterns
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
19 Nov 2009 at 07:28 UTC
Updated:
3 Jan 2014 at 00:29 UTC
Jump to comment: Most recent
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.