diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2010-07-07 03:58:10 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2010-07-07 03:58:10 +0200 |
commit | 814b24fdc9407a741967322041ff817665f8e00b (patch) | |
tree | 8137af19b7fbb04b8966c959f56b78be98b4e404 /Bugzilla/User.pm | |
parent | ef414f2b12f7686ad830fb884f69865cdb41f6c0 (diff) | |
download | bugzilla-814b24fdc9407a741967322041ff817665f8e00b.tar.gz bugzilla-814b24fdc9407a741967322041ff817665f8e00b.tar.xz |
Bug 519835: Remove Bugzilla::Product::check_product() in favor of Bugzilla::Product->check()
r=mkanat a=LpSolit
Diffstat (limited to 'Bugzilla/User.pm')
-rw-r--r-- | Bugzilla/User.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index b9405e412..78e92eca0 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -985,7 +985,7 @@ sub check_can_admin_product { my ($self, $product_name) = @_; # First make sure the product name is valid. - my $product = Bugzilla::Product::check_product($product_name); + my $product = Bugzilla::Product->check($product_name); ($self->in_group('editcomponents', $product->id) && $self->can_see_product($product->name)) |