Skip to content
Snippets Groups Projects
Commit 2d068c1c authored by Jeroen Bobbeldijk's avatar Jeroen Bobbeldijk
Browse files

Bundle delete fix

parent 02dd0743
No related branches found
Tags 7.x-1.0-rc4
No related merge requests found
......@@ -1166,7 +1166,7 @@ function paragraphs_bundle_delete($bundle_machine_name) {
db_delete('paragraphs_bundle')
->condition('bundle', $bundle->bundle)
->execute();
field_attach_delete_bundle('paragraphs', $bundle->bundle);
field_attach_delete_bundle('paragraphs_item', $bundle->bundle);
paragraphs_bundle_load(NULL, TRUE);
entity_info_cache_clear();
variable_set('menu_rebuild_needed', TRUE);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment