Closed (fixed)
Project:
Flex Slider
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Nov 2012 at 10:01 UTC
Updated:
18 Nov 2015 at 03:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
minoroffense commentedAh. I had used Features to export the node type. I thought for sure it would have handled cleaning stuff up.
I'll add in the cleanup code.
Thanks.
Comment #2
bohemier commentedSo how does one remove the flexslider_example content type? The drupal interface does not allow to remove it, probably because it if provided by features?
Thanks!
Comment #3
MorinLuc0 commentedHere is a patch that will delete all the Flexslider Example nodes and delete the FlexSlider Example content type.
Comment #4
minoroffense commentedThis is a bug with core and Features. But we can include this for now until that gets fixed.
But can you update the patch to use node_delete_mulitple instead?
Thanks.
Comment #5
minoroffense commentedIt also may need to run on hook_disable and not hook_uninstall. But you'd have to double check that.
Comment #6
minoroffense commentedComment #7
minoroffense commentedCommitted a fix.
Comment #9
rob_johnston commentedJust passing by... noticed that the original request asked to remove the content type but the committed patch only removes the content of that type. The patch from comment 3 does include the deletion of the content type, but looks like that left out of the commit (I tested that and it worked for me).
Comment #10
jbfelix commentedThe easy way:
1. go to /admin/content/ and delete all "flex_slider_example" nodes
2. go to /admin/structure/types/manage/"flex_slider_example"/delete it will delete it
Comment #12
jenlamptonLooks like this is fixed? If not please re-open.