From 51007a0fb5a50fdfbd9d3a8c2dd7f456f271d9e4 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 27 Dec 2017 19:52:21 +0400 Subject: Register a new external function --- db/services.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'db/services.php') 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", -- cgit v1.2.3