doublesecretagency / craft-spoon

Spoon plugin for Craft CMS - Enhance your Matrix fields with groups, tabs and more!
Other
83 stars 7 forks source link

craft_spoon_blocktypes persists after plugin is removed #85

Closed heymarkreeves closed 4 years ago

heymarkreeves commented 4 years ago

I removed the plugin and the database table is still intact.

heymarkreeves commented 4 years ago

After uninstalling this, it's still referenced in project config, which is preventing me from pushing to my server. Frustrating.

joshangell commented 4 years ago

Is the plugin still referenced in the plugins key? Or is it just the spoonBlockTypes that’s still present?

heymarkreeves commented 4 years ago

The plugin was still referenced. I had to do project-config/rebuild to clean it up.

joshangell commented 4 years ago

OK that’s interesting, I don’t think plugins have control over that ... we can remove database tables etc but the plugins key is controller by Craft.

Still, I’ll look into it when I address the original part of this issue this week.

joshangell commented 4 years ago

Right, after some digging I can’t see the specific issues you were facing, the table is dropped from the DB for me as is the spoon part of the plugins key in project config.

However the other spoon data was still left in project config, so I have also removed that on uninstall.