Skip to content
Snippets Groups Projects
Commit 4c86a2da authored by Drew Webber's avatar Drew Webber
Browse files

Issue #3101859 by Liam Morland, longwave: Remove redundant return statements

parent d88c80f8
Branches
Tags
1 merge request!7330Issue #3306390 by poker10, catch, Fabianx, pwolanin, rvtraveller: [D7]...
......@@ -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;
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment