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); }