Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
paragraphs-3385177
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
paragraphs-3385177
Commits
2d068c1c
Commit
2d068c1c
authored
11 years ago
by
Jeroen Bobbeldijk
Browse files
Options
Downloads
Patches
Plain Diff
Bundle delete fix
parent
02dd0743
No related branches found
Branches containing commit
Tags
7.x-1.0-rc4
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
paragraphs.module
+1
-1
1 addition, 1 deletion
paragraphs.module
with
1 addition
and
1 deletion
paragraphs.module
+
1
−
1
View file @
2d068c1c
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment