From 6cd77937db8001bbdca42982515ded9c359aa83b Mon Sep 17 00:00:00 2001 From: Angie Byron <webchick@24967.no-reply.drupal.org> Date: Mon, 12 Oct 2009 20:12:28 +0000 Subject: [PATCH] #602570 by dww: Fix code style in _system_filetransfer_backend_form_common(). --- modules/system/system.module | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/modules/system/system.module b/modules/system/system.module index 9b6a90bd4b5e..8ddfea03f71c 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -1404,24 +1404,20 @@ function _system_filetransfer_backend_form_common() { '#title' => t('Host'), '#default_value' => 'localhost', ); - - $form['port'] = array ( + $form['port'] = array( '#type' => 'textfield', '#title' => t('Port'), '#default_value' => NULL, ); - - $form['username'] = array ( + $form['username'] = array( '#type' => 'textfield', '#title' => t('Username'), ); - - $form['password'] = array ( + $form['password'] = array( '#type' => 'password', '#title' => t('Password'), '#description' => t('This is not saved in the database and is only used to test the connection'), ); - return $form; } -- GitLab