summaryrefslogtreecommitdiff
path: root/modules/contact
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-07-01 17:41:16 +0000
committerDries Buytaert <dries@buytaert.net>2007-07-01 17:41:16 +0000
commite59852d336467e7269853724a28d80bc070bcbf6 (patch)
tree5be53c3b52d923476e8be517f15251f1487efa9c /modules/contact
parentc11cb4ec24479e801076c094f043f2084b344d0c (diff)
downloadbrdo-e59852d336467e7269853724a28d80bc070bcbf6.tar.gz
brdo-e59852d336467e7269853724a28d80bc070bcbf6.tar.bz2
- Rollback of patch #147723: delete API. Talked to Steven and Gabor and we
unanimously agreed to rollback the deletion API. We all support the features this patch added, yet not its actual design and implementation. After some talk, we decided that it would be better for Drupal -- in the long term -- not to go with a solution that isn't 100%. We also recognize that in the short term, this patch would have been useful addition. So let's figure out how we can implement this properly in D7.
Diffstat (limited to 'modules/contact')
-rw-r--r--modules/contact/contact.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/contact/contact.module b/modules/contact/contact.module
index 7b53d6be6..cb628bbac 100644
--- a/modules/contact/contact.module
+++ b/modules/contact/contact.module
@@ -265,7 +265,7 @@ function contact_admin_delete(&$form_state, $cid = NULL) {
'#value' => $info->category,
);
- return confirm_form($form, t('Are you sure you want to delete %category?', array('%category' => $info->category)), 'admin/build/contact');
+ return confirm_form($form, t('Are you sure you want to delete %category?', array('%category' => $info->category)), 'admin/build/contact', t('This action cannot be undone.'), t('Delete'), t('Cancel'));
}
else {
drupal_set_message(t('Category not found.'), 'error');