diff options
author | lpsolit%gmail.com <> | 2005-10-12 11:08:54 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-10-12 11:08:54 +0200 |
commit | 2ecd676f8e8154f6364a3a158013250695ed9251 (patch) | |
tree | a5444c151d610a2d8a4751b4ffde88739624a259 /Bugzilla/Bug.pm | |
parent | 6e549ec68c0893d8eba685a5d1a4eb151752a07d (diff) | |
download | bugzilla-2ecd676f8e8154f6364a3a158013250695ed9251.tar.gz bugzilla-2ecd676f8e8154f6364a3a158013250695ed9251.tar.xz |
Bug 306325: Move CanEnterProduct() and CanEnterProductOrWarn() out of globals.pl - Patch by Frédéric Buclin <LpSolit@gmail.com> r=joel r=wicked a=justdave
Diffstat (limited to 'Bugzilla/Bug.pm')
-rwxr-xr-x | Bugzilla/Bug.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index e050d2211..526f002b0 100755 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -650,7 +650,7 @@ sub choices { next; } - if (!&::CanEnterProduct($product)) { + if (!Bugzilla->user->can_enter_product($product)) { # If we're using bug groups to restrict entry on products, and # this product has an entry group, and the user is not in that # group, we don't want to include that product in this list. |