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

Uninstall option is missing for disabled plugins #4383

Closed
terryupton opened this issue Jun 7, 2019 · 2 comments
Closed

Uninstall option is missing for disabled plugins #4383

terryupton opened this issue Jun 7, 2019 · 2 comments

Comments

@terryupton
Copy link

Description

It seems the option to uninstall disabled plugins is missing.
The option is present for any active plugins.
The following screenshots show this.
Screenshot 2019-06-07 at 16 26 30
Screenshot 2019-06-07 at 16 26 40

Typically I would disable a plugin before deciding to remove it.

Steps to reproduce

  1. Disabled a plugin
  2. Click the cog and there is no uninstall option.
  3. Click the cog for an active plugin and there is an uninstall option.

Additional info

  • Craft version: Craft Pro 3.1.29
  • PHP version: 7.2.18
  • Database driver & version: MySQL 5.5.5
@narration-sd
Copy link
Contributor

believe I ran into this also, a week or two ago -- does seem Uninstall should be there for Disabled plugin, no?

@brandonkelly
Copy link
Member

This is expected, because we don’t want to ever executing a plugin’s code if it is disabled. And plugins are responsible for uninstalling themselves to a degree, and we couldn’t do that without executing its code.

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

No branches or pull requests

3 participants