summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorMatt Tyson <mtyson@redhat.com>2015-04-15 01:32:55 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2015-04-15 01:32:55 +0200
commit056decf4bef0619259a050a41abe4d3e565e0f91 (patch)
tree6c31e9791489c2cb74c008cf67cf5bbcda5a557c /Bugzilla
parentbdd9c47cc031109dc606e99fc3bc424f0f6521a3 (diff)
downloadbugzilla-056decf4bef0619259a050a41abe4d3e565e0f91.tar.gz
bugzilla-056decf4bef0619259a050a41abe4d3e565e0f91.tar.xz
Bug 1154099: Remove support for Bug.get_bugs and Bug.get_history
r=LpSolit a=glob
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/API/1_0/Resource/Bug.pm17
-rw-r--r--Bugzilla/WebService/Bug.pm17
2 files changed, 0 insertions, 34 deletions
diff --git a/Bugzilla/API/1_0/Resource/Bug.pm b/Bugzilla/API/1_0/Resource/Bug.pm
index 8bdf9ae2d..6797526c4 100644
--- a/Bugzilla/API/1_0/Resource/Bug.pm
+++ b/Bugzilla/API/1_0/Resource/Bug.pm
@@ -243,17 +243,6 @@ sub REST_RESOURCES {
return $rest_resources;
}
-######################################################
-# Add aliases here for old method name compatibility #
-######################################################
-
-BEGIN {
- # In 3.0, get was called get_bugs
- *get_bugs = \&get;
- # Before 3.4rc1, "history" was get_history.
- *get_history = \&history;
-}
-
###########
# Methods #
###########
@@ -2296,8 +2285,6 @@ C<creator>.
Gets information about particular bugs in the database.
-Note: Can also be called as "get_bugs" for compatibilty with Bugzilla 3.0 API.
-
=item B<REST>
To get information about a particular bug using its ID or alias:
@@ -4874,8 +4861,4 @@ This method can throw all of the errors that L</get> throws.
=item REST_RESOURCES
-=item get_bugs
-
-=item get_history
-
=back
diff --git a/Bugzilla/WebService/Bug.pm b/Bugzilla/WebService/Bug.pm
index b3cb631fb..b86cea51b 100644
--- a/Bugzilla/WebService/Bug.pm
+++ b/Bugzilla/WebService/Bug.pm
@@ -97,17 +97,6 @@ use constant ATTACHMENT_MAPPED_RETURNS => {
mimetype => 'content_type',
};
-######################################################
-# Add aliases here for old method name compatibility #
-######################################################
-
-BEGIN {
- # In 3.0, get was called get_bugs
- *get_bugs = \&get;
- # Before 3.4rc1, "history" was get_history.
- *get_history = \&history;
-}
-
###########
# Methods #
###########
@@ -2195,8 +2184,6 @@ B<STABLE>
Gets information about particular bugs in the database.
-Note: Can also be called as "get_bugs" for compatibilty with Bugzilla 3.0 API.
-
=item B<REST>
To get information about a particular bug using its ID or alias:
@@ -4798,8 +4785,4 @@ This method can throw all of the errors that L</get> throws.
=over
-=item get_bugs
-
-=item get_history
-
=back