aboutsummaryrefslogtreecommitdiffstats
path: root/extensions/example/code
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2007-10-19 12:58:48 +0000
committermkanat%bugzilla.org <>2007-10-19 12:58:48 +0000
commit77761cd6861490775d0d617f962ad213019517d9 (patch)
treedd220626d75c0c22afb2c2bd25c5d06a53f5d260 /extensions/example/code
parent415e32d463bbb881d991d886ddba6f859669c098 (diff)
downloadbugs-77761cd6861490775d0d617f962ad213019517d9.tar
bugs-77761cd6861490775d0d617f962ad213019517d9.tar.gz
bugs-77761cd6861490775d0d617f962ad213019517d9.tar.bz2
bugs-77761cd6861490775d0d617f962ad213019517d9.tar.xz
bugs-77761cd6861490775d0d617f962ad213019517d9.zip
Bug 396243: Allow extensions (aka plugins) to extend the WebService interface
This also includes the first checkin of the example plugin. Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=ghendricks, a=mkanat
Diffstat (limited to 'extensions/example/code')
-rw-r--r--extensions/example/code/webservice.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/extensions/example/code/webservice.pl b/extensions/example/code/webservice.pl
new file mode 100644
index 000000000..cf608c0e2
--- /dev/null
+++ b/extensions/example/code/webservice.pl
@@ -0,0 +1,5 @@
+use strict;
+use warnings;
+use Bugzilla;
+my $dispatch = Bugzilla->hook_args->{dispatch};
+$dispatch->{Example} = "extensions::example::lib::WSExample";