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.

Comments

vaish’s picture

Status: Active » Fixed

Good 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.

Status: Fixed » Closed (fixed)
Issue tags: -patch

Automatically closed -- issue fixed for 2 weeks with no activity.