diff options
author | Matt Tyson <mtyson@redhat.com> | 2015-04-15 01:34:47 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2015-04-15 01:34:47 +0200 |
commit | 8a48cfd0fd2fc93ec0dd5183abee1b3f9eac26dd (patch) | |
tree | fe22be13eb5d620703ea40f5a61a2bc3efa095c5 | |
parent | d5c47c9aa3325444aeab5d5691b2c911d11c4f94 (diff) | |
download | bugs-8a48cfd0fd2fc93ec0dd5183abee1b3f9eac26dd.tar bugs-8a48cfd0fd2fc93ec0dd5183abee1b3f9eac26dd.tar.gz bugs-8a48cfd0fd2fc93ec0dd5183abee1b3f9eac26dd.tar.bz2 bugs-8a48cfd0fd2fc93ec0dd5183abee1b3f9eac26dd.tar.xz bugs-8a48cfd0fd2fc93ec0dd5183abee1b3f9eac26dd.zip |
Bug 1154099: Remove support for Bug.get_bugs and Bug.get_history
r=LpSolit a=glob
-rw-r--r-- | Bugzilla/WebService/Bug.pm | 17 | ||||
-rwxr-xr-x | contrib/bz_webservice_demo.pl | 2 |
2 files changed, 0 insertions, 19 deletions
diff --git a/Bugzilla/WebService/Bug.pm b/Bugzilla/WebService/Bug.pm index c5d731b22..ecca61d86 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 # ########### @@ -2143,8 +2132,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: @@ -4665,8 +4652,4 @@ This method can throw all of the errors that L</get> throws. =over -=item get_bugs - -=item get_history - =back diff --git a/contrib/bz_webservice_demo.pl b/contrib/bz_webservice_demo.pl index af8c25308..6c8c21dfa 100755 --- a/contrib/bz_webservice_demo.pl +++ b/contrib/bz_webservice_demo.pl @@ -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) { |