Is it possible to clean up unused components
Along the way I’ve created several new page types and Elemental elements that I no longer use. It presents a risk in the editors might use things we no longer want them to add and which are no longer maintained.
Simply deleting the associated controllers, classes and templates causes silverstripe to suffer a meltdown. I imagine it wants to define the classes - perhaps due to them being referenced in “archived” items or perhaps they are named in tables.
I’m not keen to hack the db directly without knowing the consequences of deleting items there.
Can anyone provide me with some guidance please?