formcreator icon indicating copy to clipboard operation
formcreator copied to clipboard

Check internal dependencies only before activation

Open btry opened this issue 4 years ago • 1 comments

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

btry avatar Dec 21 '21 13:12 btry

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.

AdrienClairembault avatar Jan 26 '22 09:01 AdrienClairembault