diff options
author | Simon Green <sgreen@redhat.com> | 2014-06-13 02:42:35 +0200 |
---|---|---|
committer | Simon Green <sgreen@redhat.com> | 2014-06-13 02:42:35 +0200 |
commit | 6c6efdde5b5e041deb75f65b5a18baae7665d660 (patch) | |
tree | 4a10374b0c02019d8518ecedacd251fbefb32374 /Bugzilla | |
parent | eb13c383198a1c52a7858fdf3fee0248262bbaf0 (diff) | |
download | bugzilla-6c6efdde5b5e041deb75f65b5a18baae7665d660.tar.gz bugzilla-6c6efdde5b5e041deb75f65b5a18baae7665d660.tar.xz |
Bug 1023633 - Add a webservice_before_call Hook
r=dkl, a=glob
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/WebService/Server.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Bugzilla/WebService/Server.pm b/Bugzilla/WebService/Server.pm index 5ffd965a5..89cb1a130 100644 --- a/Bugzilla/WebService/Server.pm +++ b/Bugzilla/WebService/Server.pm @@ -28,6 +28,10 @@ sub handle_login { return if ($class->login_exempt($method) and !defined Bugzilla->input_params->{Bugzilla_login}); Bugzilla->login(); + + Bugzilla::Hook::process( + 'webservice_before_call', + { 'method' => $method, full_method => $full_method }); } sub datetime_format_inbound { |