]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1154099: Remove support for Bug.get_bugs and Bug.get_history
authorMatt Tyson <mtyson@redhat.com>
Tue, 14 Apr 2015 23:32:55 +0000 (01:32 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Tue, 14 Apr 2015 23:32:55 +0000 (01:32 +0200)
r=LpSolit a=glob

Bugzilla/API/1_0/Resource/Bug.pm
Bugzilla/WebService/Bug.pm
contrib/bz_webservice_demo.pl

index 8bdf9ae2da92c00c82fa66539a367918fe9eed4b..6797526c4af548617a00922d4415246d7f658214 100644 (file)
@@ -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
index b3cb631fb2a56e1b63c04f6138fd33f84fc48cf5..b86cea51b9fbc6ece6a69f8eff4ef852451abc90 100644 (file)
@@ -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
index af8c253084f5d952ed1c9243b0f1f86889348fb4..6c8c21dfafb7ef73b855e028a49016af905c3c79 100755 (executable)
@@ -259,8 +259,6 @@ if ($fetch_extension_info) {
 Call C<Bug.get> with the ID of the bug you want to know more of.
 The call will return a C<Bugzilla::Bug> object.
 
-Note: You can also use "Bug.get_bugs" for compatibility with Bugzilla 3.0 API.
-
 =cut
 
 if ($bug_id) {