- Patch #206820 by boydjd: corrected the forum deletion help text/documentation.

merge-requests/26/head
Dries Buytaert 2008-02-20 13:55:42 +00:00
parent 584f3e886a
commit 2526e41fdb
1 changed files with 2 additions and 2 deletions

View File

@ -173,8 +173,8 @@ function forum_confirm_delete(&$form_state, $tid) {
*/
function forum_confirm_delete_submit($form, &$form_state) {
taxonomy_del_term($form_state['values']['tid']);
drupal_set_message(t('The forum %term and all sub-forums and associated posts have been deleted.', array('%term' => $form_state['values']['name'])));
watchdog('content', 'forum: deleted %term and all its sub-forums and associated posts.', array('%term' => $form_state['values']['name']));
drupal_set_message(t('The forum %term and all sub-forums have been deleted.', array('%term' => $form_state['values']['name'])));
watchdog('content', 'forum: deleted %term and all its sub-forums.', array('%term' => $form_state['values']['name']));
$form_state['redirect'] = 'admin/content/forum';
return;