diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-07-04 21:42:39 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-07-04 21:42:39 +0000 |
commit | 92a32a8676c0ca8e3c144bb373a63618be793995 (patch) | |
tree | d5b78c638c554eeec48fb33aa9f49f1ea945ae85 | |
parent | 3e86bd0329752393317d4da25be31cdc454f1cf9 (diff) | |
download | brdo-92a32a8676c0ca8e3c144bb373a63618be793995.tar.gz brdo-92a32a8676c0ca8e3c144bb373a63618be793995.tar.bz2 |
#156812 by tangent: coding style issues corrected in user.module, identified with coder module
-rw-r--r-- | modules/user/user.module | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/user/user.module b/modules/user/user.module index 33b0b3d89..20dc8fdeb 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -1714,8 +1714,8 @@ function user_build_content($account) { function user_mail($key, &$message, $params) { $language = $message['language']; $variables = user_mail_tokens($params['account'], $language); - $message['subject'] .= _user_mail_text($key. '_subject', $language, $variables); - $message['body'][] = _user_mail_text($key. '_body', $language, $variables); + $message['subject'] .= _user_mail_text($key .'_subject', $language, $variables); + $message['body'][] = _user_mail_text($key .'_body', $language, $variables); } /** @@ -3099,7 +3099,7 @@ function theme_user_signature($signature) { $output = ''; if ($signature) { $output .= '<div class="clear">'; - $output .= '<div>'. '—' .'</div>'; + $output .= '<div>—</div>'; $output .= $signature; $output .= '</div>'; } @@ -3278,7 +3278,7 @@ function user_action_info() { 'type' => 'user', 'configurable' => FALSE, 'hooks' => array( - 'nodeapi' => array('presave', 'delete','insert', 'update','view'), + 'nodeapi' => array('presave', 'delete', 'insert', 'update', 'view'), 'comment' => array('view', 'insert', 'update', 'delete'), 'user' => array('logout'), ), @@ -3288,7 +3288,7 @@ function user_action_info() { 'type' => 'user', 'configurable' => FALSE, 'hooks' => array( - 'nodeapi' => array('presave', 'delete','insert', 'update','view'), + 'nodeapi' => array('presave', 'delete', 'insert', 'update', 'view'), 'comment' => array('view', 'insert', 'update', 'delete'), 'user' => array('logout'), ) @@ -3323,4 +3323,4 @@ function user_block_user_action(&$object, $context = array()) { function user_block_ip_action() { db_query("INSERT INTO {access} (mask, type, status) VALUES ('%s', '%s', %d)", $_SERVER['REMOTE_ADDR'], 'host', 0); watchdog('action', 'Banned IP address %ip', array('%ip' => $_SERVER['REMOTE_ADDR'])); -}
\ No newline at end of file +} |