diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-07-04 18:56:12 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-07-04 18:56:12 +0000 |
commit | 0c0a340f291a9364c6cb15866463746874b39d29 (patch) | |
tree | f50bbc3a47988676165d4039ede3b0ff4121abc0 | |
parent | 2aeab67487cd0b40898ab842e6546c7c89a8a39b (diff) | |
download | brdo-0c0a340f291a9364c6cb15866463746874b39d29.tar.gz brdo-0c0a340f291a9364c6cb15866463746874b39d29.tar.bz2 |
#156793 by webernet: menu reset confirmation form contained deletion API remainings
-rw-r--r-- | modules/menu/menu.module | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/modules/menu/menu.module b/modules/menu/menu.module index f0dc2e783..42e7ea26f 100644 --- a/modules/menu/menu.module +++ b/modules/menu/menu.module @@ -486,12 +486,7 @@ function menu_item_delete_form_submit($form, &$form_state) { */ function menu_reset_item(&$form_state, $item) { $form['item'] = array('#type' => 'value', '#value' => $item); - - $options = array( - 'description' => t('Any customizations will be lost. This action cannot be undone.'), - 'yes' => t('Reset') - ); - return confirm_form($form, t('Are you sure you want to reset the item %item to its default values?', array('%item' => $item['link_title'])), 'admin/build/menu-customize/'. $item['menu_name'], $options); + return confirm_form($form, t('Are you sure you want to reset the item %item to its default values?', array('%item' => $item['link_title'])), 'admin/build/menu-customize/'. $item['menu_name'], t('Any customizations will be lost. This action cannot be undone.'), t('Reset')); } /** |