From: Matt Tyson Date: Wed, 16 Dec 2015 00:33:10 +0000 (+0000) Subject: Bug 1160394 - Products.get_products is missing from PUBLIC_METHODS (for backwards... X-Git-Tag: release-5.1.1~136 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9215fb96c1131d3ebcb77074e01c9a24a40d04a2;p=thirdparty%2Fbugzilla.git Bug 1160394 - Products.get_products is missing from PUBLIC_METHODS (for backwards compatibility) r=dkl,a=dkl --- diff --git a/Bugzilla/API/1_0/Resource/Product.pm b/Bugzilla/API/1_0/Resource/Product.pm index dcd4b9a684..6a5168608f 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: You must at least specify one of C or C. -B: Can also be called as "get_products" for compatibilty with Bugzilla 3.0 API. - =item B 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 7a3b0fa3e3..75ec42c057 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: You must at least specify one of C or C. -B: Can also be called as "get_products" for compatibilty with Bugzilla 3.0 API. - =item B 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 - -=over - -=item get_products - -=back