From 5d12e75902ec575794313488e29fa4b2968619d9 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 26 Mar 2007 00:39:54 +0000 Subject: - Patch #130977 by chx: fix confirm forms. --- modules/system/system.module | 2 -- 1 file changed, 2 deletions(-) (limited to 'modules/system/system.module') diff --git a/modules/system/system.module b/modules/system/system.module index b219c2f6f..e384e16eb 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -2165,8 +2165,6 @@ function confirm_form($form, $question, $path, $description = NULL, $yes = NULL, $form['actions'] = array('#prefix' => '
', '#suffix' => '
'); $form['actions']['submit'] = array('#type' => 'submit', '#value' => $yes ? $yes : t('Confirm')); $form['actions']['cancel'] = array('#value' => $cancel); - $form['#submit']['confirm_form_submit'] = array(); - $form['#validate']['confirm_form_validate'] = array(); $form['#theme'] = 'confirm_form'; return $form; } -- cgit v1.2.3