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

Check internal dependencies only before activation #2509

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

btry
Copy link
Collaborator

@btry btry commented Dec 21, 2021

in some cases, it may be impossible to clean, install or upgrade the plugin becausee of prerequisite checks.

in some cases, it may be impossible to clean, install or upgrade the plugin
@AdrienClairembault
Copy link
Contributor

Isn't it risky to allow installing the plugin without dependencies ?
Some upgrade code might use vendors code.

Not mandatory but if you want you can also use $plugin->isInstalled('formcreator') && !$plugin->isActivated('formcreator') as an alternative condition.

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.

2 participants