summaryrefslogtreecommitdiffstats
path: root/editusers.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-xeditusers.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/editusers.cgi b/editusers.cgi
index bfc7eee14..290b8dbe4 100755
--- a/editusers.cgi
+++ b/editusers.cgi
@@ -180,6 +180,8 @@ if ($action eq 'search') {
# Lock tables during the check+creation session.
$dbh->bz_lock_tables('profiles WRITE',
'profiles_activity WRITE',
+ 'groups READ',
+ 'user_group_map WRITE',
'email_setting WRITE',
'namedqueries READ',
'whine_queries READ',
@@ -203,8 +205,6 @@ if ($action eq 'search') {
insert_new_user($login, $realname, $password, $disabledtext);
my $new_user_id = $dbh->bz_last_key('profiles', 'userid');
$dbh->bz_unlock_tables();
- my $newprofile = new Bugzilla::User($new_user_id);
- $newprofile->derive_regexp_groups();
userDataToVars($new_user_id);
$vars->{'message'} = 'account_created';