diff options
author | bbaetz%acm.org <> | 2003-06-03 16:47:37 +0000 |
---|---|---|
committer | bbaetz%acm.org <> | 2003-06-03 16:47:37 +0000 |
commit | 1d057f02b277d29ad4d232d598c49b0344798b40 (patch) | |
tree | 5dd73500b1cf10b51875179f7559c8ec97f0b5be /sanitycheck.cgi | |
parent | last not break (diff) | |
download | bugzilla-1d057f02b277d29ad4d232d598c49b0344798b40.tar.gz bugzilla-1d057f02b277d29ad4d232d598c49b0344798b40.tar.bz2 bugzilla-1d057f02b277d29ad4d232d598c49b0344798b40.zip |
Bug 180635 - Enhance Bugzilla::User to store additional information
r=myk,jake
Diffstat (limited to 'sanitycheck.cgi')
-rwxr-xr-x | sanitycheck.cgi | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sanitycheck.cgi b/sanitycheck.cgi index 98734e5b0..aab9c8d38 100755 --- a/sanitycheck.cgi +++ b/sanitycheck.cgi @@ -106,12 +106,16 @@ if (exists $::FORM{'rederivegroups'}) { } # rederivegroupsnow is REALLY only for testing. +# If it wasn't, then we'd do this the faster way as a per-group +# thing rather than per-user for group inheritance if (exists $::FORM{'rederivegroupsnow'}) { + require Bugzilla::User; Status("OK, now rederiving groups."); SendSQL("SELECT userid FROM profiles"); while ((my $id) = FetchSQLData()) { - DeriveGroup($id); - Status("Group $id"); + my $user = new Bugzilla::User($id); + $user->derive_groups(); + Status("User $id"); } } |