diff options
author | mkanat%bugzilla.org <> | 2006-09-05 01:21:47 +0200 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2006-09-05 01:21:47 +0200 |
commit | 7d677ece7d55266f63924bc64cf2190df7c785a0 (patch) | |
tree | 7b666d17b8e5de6a8d1cd86c8a33030073acb9ef /Bugzilla/User.pm | |
parent | b63fd277afedfb5d101ce4700058609e81199855 (diff) | |
download | bugzilla-7d677ece7d55266f63924bc64cf2190df7c785a0.tar.gz bugzilla-7d677ece7d55266f63924bc64cf2190df7c785a0.tar.xz |
Bug 283582: Remove UserInGroup in favor of Bugzilla->user->in_group
Patch By victory(_RSZ_) <bmo2007@rsz.jp> r=mkanat, a=myk
Diffstat (limited to 'Bugzilla/User.pm')
-rw-r--r-- | Bugzilla/User.pm | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index c037f317a..81bbb7fc1 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -51,7 +51,6 @@ use Bugzilla::Field; use base qw(Bugzilla::Object Exporter); @Bugzilla::User::EXPORT = qw(is_available_username login_to_id user_id_to_login validate_password - UserInGroup USER_MATCH_MULTIPLE USER_MATCH_FAILED USER_MATCH_SUCCESS MATCH_SKIP_CONFIRM ); @@ -1471,9 +1470,6 @@ sub validate_password { return 1; } -sub UserInGroup { - return exists Bugzilla->user->groups->{$_[0]} ? 1 : 0; -} 1; @@ -1893,10 +1889,6 @@ requirements for length and content), else returns false. If a second password is passed in, this function also verifies that the two passwords match. -=item C<UserInGroup($groupname)> - -Takes a name of a group, and returns 1 if a user is in the group, 0 otherwise. - =back =head1 SEE ALSO |