summaryrefslogtreecommitdiff
path: root/modules/user/user.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-12-30 16:43:20 +0000
committerDries Buytaert <dries@buytaert.net>2008-12-30 16:43:20 +0000
commit92a8adea653b29a9e6ee7778e8628f57b959ca4f (patch)
tree0fd5b18555aff73bfe4bc5aa3479db3090ad4cf8 /modules/user/user.module
parentcac5dd8a66a07887aca4c4730d56978eaf26c70b (diff)
downloadbrdo-92a8adea653b29a9e6ee7778e8628f57b959ca4f.tar.gz
brdo-92a8adea653b29a9e6ee7778e8628f57b959ca4f.tar.bz2
- Patch #352470 by scor: fixed typos and grammar in comments.
Diffstat (limited to 'modules/user/user.module')
-rw-r--r--modules/user/user.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index 6282d35c5..366e92a4f 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -1429,7 +1429,7 @@ function user_external_login_register($name, $module) {
'access' => REQUEST_TIME
);
$account = user_save('', $userinfo);
- // Terminate if an error occured during user_save().
+ // Terminate if an error occurred during user_save().
if (!$account) {
drupal_set_message(t("Error saving user account."), 'error');
return;
@@ -2303,7 +2303,7 @@ function user_register_submit($form, &$form_state) {
$merge_data['status'] = variable_get('user_register', 1) == 1;
}
$account = user_save('', array_merge($form_state['values'], $merge_data));
- // Terminate if an error occured during user_save().
+ // Terminate if an error occurred during user_save().
if (!$account) {
drupal_set_message(t("Error saving user account."), 'error');
$form_state['redirect'] = '';