Commit 9215fb96 authored by Matt Tyson's avatar Matt Tyson Committed by David Lawrence

Bug 1160394 - Products.get_products is missing from PUBLIC_METHODS (for backwards compatibility)

r=dkl,a=dkl
parent ddee4cd2
...@@ -109,8 +109,6 @@ sub REST_RESOURCES { ...@@ -109,8 +109,6 @@ sub REST_RESOURCES {
# Methods # # Methods #
############ ############
BEGIN { *get_products = \&get }
# Get the ids of the products the user can search # Get the ids of the products the user can search
sub get_selectable_products { sub get_selectable_products {
Bugzilla->switch_to_shadow_db(); Bugzilla->switch_to_shadow_db();
...@@ -511,8 +509,6 @@ Returns a list of information about the products passed to it. ...@@ -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>: 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> =item B<REST>
To return information about a specific groups of products such as To return information about a specific groups of products such as
...@@ -1008,6 +1004,4 @@ You must define a default milestone. ...@@ -1008,6 +1004,4 @@ You must define a default milestone.
=item REST_RESOURCES =item REST_RESOURCES
=item get_products
=back =back
...@@ -55,8 +55,6 @@ use constant FIELD_MAP => { ...@@ -55,8 +55,6 @@ use constant FIELD_MAP => {
# Add aliases here for method name compatibility # # Add aliases here for method name compatibility #
################################################## ##################################################
BEGIN { *get_products = \&get }
# Get the ids of the products the user can search # Get the ids of the products the user can search
sub get_selectable_products { sub get_selectable_products {
Bugzilla->switch_to_shadow_db(); Bugzilla->switch_to_shadow_db();
...@@ -498,8 +496,6 @@ Returns a list of information about the products passed to it. ...@@ -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>: 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> =item B<REST>
To return information about a specific groups of products such as To return information about a specific groups of products such as
...@@ -992,11 +988,3 @@ You must define a default milestone. ...@@ -992,11 +988,3 @@ You must define a default milestone.
=back =back
=back =back
=head1 B<Methods in need of POD>
=over
=item get_products
=back
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment