summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-12-21 07:16:07 +0100
committerlpsolit%gmail.com <>2005-12-21 07:16:07 +0100
commit77788555fd12b38f7db7022f84ed4f5eb17f5301 (patch)
treebaa3573feb5ffc4ee14dead2b5d513901f9ccc3d /Bugzilla
parentbe43d4b573f7cebb627e88b46212c0903acf7c7b (diff)
downloadbugzilla-77788555fd12b38f7db7022f84ed4f5eb17f5301.tar.gz
bugzilla-77788555fd12b38f7db7022f84ed4f5eb17f5301.tar.xz
Bug 320436: New self-created accounts dont get regexp group memberships - Patch by Joel Peshkin <bugreport@peshkin.net> r=LpSolit a=justdave
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/User.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm
index fe46dc292..542e6e8d7 100644
--- a/Bugzilla/User.pm
+++ b/Bugzilla/User.pm
@@ -1349,6 +1349,10 @@ sub insert_new_user {
"(user_id, relationship, event) " .
"VALUES ($userid, " . REL_ANY . ", $event)");
}
+
+ my $user = new Bugzilla::User($userid);
+ $user->derive_regexp_groups();
+
# Return the password to the calling code so it can be included
# in an email sent to the user.