diff options
-rw-r--r-- | contrib/merge-users.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/merge-users.pl b/contrib/merge-users.pl index f071f7c2c..5769b8a3d 100644 --- a/contrib/merge-users.pl +++ b/contrib/merge-users.pl @@ -49,6 +49,7 @@ use lib qw(.); use Bugzilla; use Bugzilla::Constants; use Bugzilla::Util; +use Bugzilla::User; use Getopt::Long; use Pod::Usage; @@ -233,4 +234,7 @@ $dbh->do('DELETE FROM profiles WHERE userid = ?', undef, $old_id); # Unlock tables $dbh->bz_unlock_tables(); +my $user = new Bugzilla::User($new_id); +$user->derive_regexp_groups(); + print "Done.\n"; |