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

Comments

@terryupton
Copy link

@terryupton terryupton commented Jun 7, 2019

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

This comment has been minimized.

Copy link
Contributor

@narration-sd narration-sd commented Jun 7, 2019

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

@brandonkelly

This comment has been minimized.

Copy link
Member

@brandonkelly brandonkelly commented Jun 7, 2019

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
Projects
None yet
3 participants
You can’t perform that action at this time.