Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
project
drupal
Commits
4c86a2da
Commit
4c86a2da
authored
2 years ago
by
Drew Webber
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3101859
by Liam Morland, longwave: Remove redundant return statements
parent
d88c80f8
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!7330
Issue #3306390 by poker10, catch, Fabianx, pwolanin, rvtraveller: [D7]...
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/taxonomy/taxonomy.admin.inc
+0
-2
0 additions, 2 deletions
modules/taxonomy/taxonomy.admin.inc
with
0 additions
and
2 deletions
modules/taxonomy/taxonomy.admin.inc
+
0
−
2
View file @
4c86a2da
...
...
@@ -902,7 +902,6 @@ function taxonomy_term_confirm_delete_submit($form, &$form_state) {
watchdog
(
'taxonomy'
,
'Deleted term %name.'
,
array
(
'%name'
=>
$form_state
[
'values'
][
'name'
]),
WATCHDOG_NOTICE
);
$form_state
[
'redirect'
]
=
'admin/structure/taxonomy'
;
cache_clear_all
();
return
;
}
/**
...
...
@@ -942,7 +941,6 @@ function taxonomy_vocabulary_confirm_delete_submit($form, &$form_state) {
watchdog
(
'taxonomy'
,
'Deleted vocabulary %name.'
,
array
(
'%name'
=>
$form_state
[
'values'
][
'name'
]),
WATCHDOG_NOTICE
);
$form_state
[
'redirect'
]
=
'admin/structure/taxonomy'
;
cache_clear_all
();
return
;
}
/**
...
...
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