diff options
author | Valentin Popov <info@valentineus.link> | 2017-12-27 18:52:21 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2017-12-27 18:52:21 +0300 |
commit | 51007a0fb5a50fdfbd9d3a8c2dd7f456f271d9e4 (patch) | |
tree | 9614b71529f7f369795ff915e7efa7b5766b08fe /db/services.php | |
parent | 2eaa622161720d95ac3f627b4adec97e3a22ac7c (diff) | |
download | local_webhooks-51007a0fb5a50fdfbd9d3a8c2dd7f456f271d9e4.tar.xz local_webhooks-51007a0fb5a50fdfbd9d3a8c2dd7f456f271d9e4.zip |
Register a new external function
Diffstat (limited to 'db/services.php')
-rw-r--r-- | db/services.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/db/services.php b/db/services.php index cd13ec1..cb8941d 100644 --- a/db/services.php +++ b/db/services.php @@ -49,6 +49,14 @@ $functions = array( "type" => "read" ), + "local_webhooks_get_list_events" => array( + "classname" => "local_webhooks_external", + "methodname" => "get_list_events", + "classpath" => "local/webhooks/externallib.php", + "description" => "Get a list of all system events.", + "type" => "read" + ), + "local_webhooks_create_record" => array( "classname" => "local_webhooks_external", "methodname" => "create_record", |