Permalink
Browse files

auth cas/db/ldap: MDL-18689 Fix typos in auth/{cas,db,ldap}/auth.php

  • Loading branch information...
1 parent b4e60bc commit 297404d6b7583119366c6ff9b9a444bcfd89faa8 @iarenaza iarenaza committed Apr 10, 2010
Showing with 5 additions and 5 deletions.
  1. +2 −2 auth/cas/auth.php
  2. +1 −1 auth/db/auth.php
  3. +2 −2 auth/ldap/auth.php
View
@@ -785,9 +785,9 @@ function sync_users ($bulk_insert_records = 1000, $do_updates = true) {
$updateuser->id = $user->id;
$updateuser->auth = 'cas';
if (update_record('user', $updateuser)) {
- echo "\t"; print_string('auth_dbreviveser', 'auth', array($user->username, $user->id)); echo "\n";
+ echo "\t"; print_string('auth_dbreviveduser', 'auth', array($user->username, $user->id)); echo "\n";
} else {
- echo "\t"; print_string('auth_dbreviveusererror', 'auth', $user->username); echo "\n";
+ echo "\t"; print_string('auth_dbrevivedusererror', 'auth', $user->username); echo "\n";
}
}
commit_sql();
View
@@ -372,7 +372,7 @@ function sync_users($do_updates=false) {
if ($old_user = get_record('user', 'username', $user->username, 'deleted', 1, 'mnethostid', $user->mnethostid)) {
$user->id = $old_user->id;
set_field('user', 'deleted', 0, 'username', $user->username);
- echo "\t"; print_string('auth_dbreviveuser', 'auth', array(stripslashes($user->username), $user->id)); echo "\n";
+ echo "\t"; print_string('auth_dbreviveduser', 'auth', array(stripslashes($user->username), $user->id)); echo "\n";
} elseif ($id = insert_record ('user',$user)) { // it is truly a new user
echo "\t"; print_string('auth_dbinsertuser','auth',array(stripslashes($user->username), $id)); echo "\n";
// if relevant, tag for password generation
View
@@ -556,9 +556,9 @@ function sync_users ($bulk_insert_records = 1000, $do_updates = true) {
$updateuser->id = $user->id;
$updateuser->auth = 'ldap';
if (update_record('user', $updateuser)) {
- echo "\t"; print_string('auth_dbreviveser', 'auth', array($user->username, $user->id)); echo "\n";
+ echo "\t"; print_string('auth_dbreviveduser', 'auth', array($user->username, $user->id)); echo "\n";
} else {
- echo "\t"; print_string('auth_dbreviveusererror', 'auth', $user->username); echo "\n";
+ echo "\t"; print_string('auth_dbrevivedusererror', 'auth', $user->username); echo "\n";
}
}
commit_sql();

0 comments on commit 297404d

Please sign in to comment.