From 544a15d1e36f59bbdfe4e23dd591b7f8cd870fa6 Mon Sep 17 00:00:00 2001 From: William Panting Date: Wed, 4 May 2011 09:54:55 -0300 Subject: [PATCH] ISLANDORA-188 Removed the function and the call to the function that sent he drupal message 'Custom form handler.' --- fedora_repository.module | 4 +--- formClass.inc | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/fedora_repository.module b/fedora_repository.module index 4ed5cb4b..307f2ec2 100644 --- a/fedora_repository.module +++ b/fedora_repository.module @@ -22,9 +22,7 @@ function fedora_repository_admin() { return $adminForm->createAdminForm(); } -function fedora_repository_admin_settings_submit($form, $form_values) { - drupal_set_message("Custom form handler."); -} + /** * drupal hook diff --git a/formClass.inc b/formClass.inc index 36610cad..dc369357 100644 --- a/formClass.inc +++ b/formClass.inc @@ -380,8 +380,7 @@ class formClass { $form['#attributes'] = array('enctype' => "multipart/form-data"); - // Additional form handling for file uploads. - $form['#submit'][] = 'fedora_repository_admin_settings_submit'; + return system_settings_form($form); }