aboutsummaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-02-19 12:38:27 +0300
committerValentin Popov <info@valentineus.link>2018-02-19 12:38:27 +0300
commita68882140b93fd3a7b1e11ee77c13d9931a7083a (patch)
treef73e90f3dc024ae96617c78131ce21143f3d2cd8 /db
parent43f0bf98d2297ae3232d7b7dcc6ba2c387add8e0 (diff)
downloadlocal_webhooks-a68882140b93fd3a7b1e11ee77c13d9931a7083a.tar.xz
local_webhooks-a68882140b93fd3a7b1e11ee77c13d9931a7083a.zip
An external service search function is declared
Diffstat (limited to 'db')
-rw-r--r--db/services.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/db/services.php b/db/services.php
index cb8941d..c0eedf1 100644
--- a/db/services.php
+++ b/db/services.php
@@ -33,6 +33,14 @@ $functions = array(
"type" => "write"
),
+ "local_webhooks_search_services_by_event" => array(
+ "classname" => "local_webhooks_external",
+ "methodname" => "search_services_by_event",
+ "classpath" => "local/webhooks/externallib.php",
+ "description" => "Search for services that contain the specified event.",
+ "type" => "read"
+ ),
+
"local_webhooks_get_record" => array(
"classname" => "local_webhooks_external",
"methodname" => "get_record",