Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude profile dependencies from uninstall dependencies #2698

Closed
wants to merge 4 commits into from
Closed

Exclude profile dependencies from uninstall dependencies #2698

wants to merge 4 commits into from

Conversation

balsama
Copy link
Contributor

@balsama balsama commented Mar 28, 2017

Parallel PR to #2697 .

Using the patch in D.O Issue#1356276, it's possible for more than one profile to be installed. Dependencies of profiles have never prevented a module from being uninstalled, but the logic used in pm-uninstall only makes that exception for the active profile.

This patch excludes the active profile and any other profiles returned from the profile_handler service when calculating uninstall dependencies. If the patch in D.O Issue#1356276 is not applied it uses drupal_get_profile() to emulate the behavior of the profile_handler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants