summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/user/user.module12
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
+}