aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordkl%redhat.com <>2008-01-19 03:30:29 +0000
committerdkl%redhat.com <>2008-01-19 03:30:29 +0000
commit77ae33512f083ed0ad153eb84f0ff1b216824c4f (patch)
treed32547ffeaa3ce2d8beaf07d55144e99b9a3d627 /contrib
parentBug 411832: [Oracle] Change ISOLATION_LEVEL to 'READ COMMITTED' (diff)
downloadbugzilla-77ae33512f083ed0ad153eb84f0ff1b216824c4f.tar.gz
bugzilla-77ae33512f083ed0ad153eb84f0ff1b216824c4f.tar.bz2
bugzilla-77ae33512f083ed0ad153eb84f0ff1b216824c4f.zip
Bug 412850: Rename the webservice method Bug.get_bugs() to simple Bug.get()
David Lawrence <dkl@redhat.com> r=mkanat
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/bz_webservice_demo.pl8
1 files changed, 5 insertions, 3 deletions
diff --git a/contrib/bz_webservice_demo.pl b/contrib/bz_webservice_demo.pl
index 72c8fdaa9..a5e6af9f9 100755
--- a/contrib/bz_webservice_demo.pl
+++ b/contrib/bz_webservice_demo.pl
@@ -235,13 +235,15 @@ if (defined($Bugzilla_login)) {
=head2 Retrieving Bug Information
-Call C<Bug.get_bug> with the ID of the bug you want to know more of.
-The call will return a C<Bugzilla::Bug> object.
+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) {
- $soapresult = $proxy->call('Bug.get_bugs', { ids => [$bug_id] });
+ $soapresult = $proxy->call('Bug.get', { ids => [$bug_id] });
_die_on_fault($soapresult);
$result = $soapresult->result;
my $bug = $result->{bugs}->[0];