diff options
author | Matt Tyson <mtyson@redhat.com> | 2015-12-16 01:33:10 +0100 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2015-12-16 01:33:10 +0100 |
commit | 9215fb96c1131d3ebcb77074e01c9a24a40d04a2 (patch) | |
tree | 3199c5b3f60ccbf5b229a33584c737ec336a5c53 | |
parent | ddee4cd2816a4394eddcb33ecfc0294f6b2424aa (diff) | |
download | bugzilla-9215fb96c1131d3ebcb77074e01c9a24a40d04a2.tar.gz bugzilla-9215fb96c1131d3ebcb77074e01c9a24a40d04a2.tar.xz |
Bug 1160394 - Products.get_products is missing from PUBLIC_METHODS (for backwards compatibility)
r=dkl,a=dkl
-rw-r--r-- | Bugzilla/API/1_0/Resource/Product.pm | 6 | ||||
-rw-r--r-- | Bugzilla/WebService/Product.pm | 12 |
2 files changed, 0 insertions, 18 deletions
diff --git a/Bugzilla/API/1_0/Resource/Product.pm b/Bugzilla/API/1_0/Resource/Product.pm index dcd4b9a68..6a5168608 100644 --- a/Bugzilla/API/1_0/Resource/Product.pm +++ b/Bugzilla/API/1_0/Resource/Product.pm @@ -109,8 +109,6 @@ sub REST_RESOURCES { # Methods # ############ -BEGIN { *get_products = \&get } - # Get the ids of the products the user can search sub get_selectable_products { Bugzilla->switch_to_shadow_db(); @@ -511,8 +509,6 @@ Returns a list of information about the products passed to it. B<Note>: You must at least specify one of C<ids> or C<names>. -B<Note>: Can also be called as "get_products" for compatibilty with Bugzilla 3.0 API. - =item B<REST> To return information about a specific groups of products such as @@ -1008,6 +1004,4 @@ You must define a default milestone. =item REST_RESOURCES -=item get_products - =back diff --git a/Bugzilla/WebService/Product.pm b/Bugzilla/WebService/Product.pm index 7a3b0fa3e..75ec42c05 100644 --- a/Bugzilla/WebService/Product.pm +++ b/Bugzilla/WebService/Product.pm @@ -55,8 +55,6 @@ use constant FIELD_MAP => { # Add aliases here for method name compatibility # ################################################## -BEGIN { *get_products = \&get } - # Get the ids of the products the user can search sub get_selectable_products { Bugzilla->switch_to_shadow_db(); @@ -498,8 +496,6 @@ Returns a list of information about the products passed to it. B<Note>: You must at least specify one of C<ids> or C<names>. -B<Note>: Can also be called as "get_products" for compatibilty with Bugzilla 3.0 API. - =item B<REST> To return information about a specific groups of products such as @@ -992,11 +988,3 @@ You must define a default milestone. =back =back - -=head1 B<Methods in need of POD> - -=over - -=item get_products - -=back |