Download & Extend

Cleanup flexslider example nodes on module disable/uninstall

Project:Flex Slider
Version:7.x-2.x-dev
Component:Documentation
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs work

Issue Summary

The example doesn't remove the content type when you disable and uninstall.

Cheers Dan

Comments

#1

Status:active» needs work

Ah. 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.

#2

So 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!

#3

Status:needs work» needs review

Here is a patch that will delete all the Flexslider Example nodes and delete the FlexSlider Example content type.

AttachmentSizeStatusTest resultOperations
flex_slider_delete_content_type-1840288-3.patch854 bytesTest request sentNoneView details

#4

Status:needs review» needs work

This 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.

#5

It also may need to run on hook_disable and not hook_uninstall. But you'd have to double check that.

#6

Title:FlexSlider Example» Cleanup flexslider example nodes on module disable/uninstall
nobody click here