summaryrefslogtreecommitdiff
path: root/modules/filter
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/filter
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/filter')
-rw-r--r--modules/filter/filter.module4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/filter/filter.module b/modules/filter/filter.module
index 7e0cc011f..f3c2e38ea 100644
--- a/modules/filter/filter.module
+++ b/modules/filter/filter.module
@@ -336,9 +336,7 @@ function filter_admin_delete() {
$form['format'] = array('#type' => 'hidden', '#value' => $format->format);
$form['name'] = array('#type' => 'hidden', '#value' => $format->name);
- $options = array('description' => t('If you have any content left in this input format, it will be switched to the default input format. This action cannot be undone.'));
-
- return confirm_form($form, t('Are you sure you want to delete the input format %format?', array('%format' => $format->name)), 'admin/settings/filters', $options);
+ return confirm_form($form, t('Are you sure you want to delete the input format %format?', array('%format' => $format->name)), 'admin/settings/filters', t('If you have any content left in this input format, it will be switched to the default input format. This action cannot be undone.'), t('Delete'), t('Cancel'));
}
else {
drupal_set_message(t('The default format cannot be deleted.'));