summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Auth/Verify
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-02-01 06:04:11 +0100
committertravis%sedsystems.ca <>2005-02-01 06:04:11 +0100
commitb7e1208d8c64cdb3a86733052f349eb6228ee1b0 (patch)
tree4404f1450c8be5f3ee017f96f644a7b386ed5229 /Bugzilla/Auth/Verify
parent955aba6821f199ad5d0850fe2065490a40d53007 (diff)
downloadbugzilla-b7e1208d8c64cdb3a86733052f349eb6228ee1b0.tar.gz
bugzilla-b7e1208d8c64cdb3a86733052f349eb6228ee1b0.tar.xz
Bug 280124 : Move InsertNewUser to Bugzilla::User
Patch by Max Kanat-Alexander <mkanat@kerio.com> r=vladd a=justdave
Diffstat (limited to 'Bugzilla/Auth/Verify')
-rw-r--r--Bugzilla/Auth/Verify/LDAP.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/Auth/Verify/LDAP.pm b/Bugzilla/Auth/Verify/LDAP.pm
index d5b115ca0..cda67fb80 100644
--- a/Bugzilla/Auth/Verify/LDAP.pm
+++ b/Bugzilla/Auth/Verify/LDAP.pm
@@ -33,6 +33,7 @@ use strict;
use Bugzilla::Config;
use Bugzilla::Constants;
+use Bugzilla::User qw(insert_new_user);
use Net::LDAP;
@@ -149,7 +150,7 @@ sub authenticate {
if($userRealName eq "") {
$userRealName = $user_entry->get_value("cn");
}
- &::InsertNewUser($username, $userRealName);
+ insert_new_user($username, $userRealName);
($userid, $disabledtext) = $dbh->selectrow_array($sth,
undef,