summaryrefslogtreecommitdiff
path: root/modules/forum
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2007-06-22 08:32:28 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2007-06-22 08:32:28 +0000
commitfe8b35f52778b63b96c969da27d2929beee8c1b9 (patch)
treebb7a2a5014006acb1fc893e29299f2dc77918327 /modules/forum
parent39a0ee0264f2e6e88b66e983e53bbf8a98072d3b (diff)
downloadbrdo-fe8b35f52778b63b96c969da27d2929beee8c1b9.tar.gz
brdo-fe8b35f52778b63b96c969da27d2929beee8c1b9.tar.bz2
#153781: Convert all remaining confirm_forms() to deletion api.
Diffstat (limited to 'modules/forum')
-rw-r--r--modules/forum/forum.module4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/forum/forum.module b/modules/forum/forum.module
index 893cc3821..2130a2ea7 100644
--- a/modules/forum/forum.module
+++ b/modules/forum/forum.module
@@ -610,7 +610,9 @@ function forum_confirm_delete(&$form_state, $tid) {
$form['tid'] = array('#type' => 'value', '#value' => $tid);
$form['name'] = array('#type' => 'value', '#value' => $term->name);
- return confirm_form($form, t('Are you sure you want to delete the forum %name?', array('%name' => $term->name)), 'admin/content/forum', t('Deleting a forum or container will delete all sub-forums and associated posts as well. This action cannot be undone.'), t('Delete'), t('Cancel'));
+ $options = array('description' => t('Deleting a forum or container will delete all sub-forums and associated posts as well. This action cannot be undone.'));
+
+ return confirm_form($form, t('Are you sure you want to delete the forum %name?', array('%name' => $term->name)), 'admin/content/forum', $options);
}
/**