summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-02-19 14:26:27 +0300
committerValentin Popov <info@valentineus.link>2018-02-19 14:26:27 +0300
commit899b129d23a7535922ae96264c297970db6ff9f2 (patch)
treed6f8e95a0c7487e0a3003745983b5113827d36ce
parentdd1906531383cba37a7d746c0a727b0ed0c98582 (diff)
downloadlocal_webhooks-899b129d23a7535922ae96264c297970db6ff9f2.tar.xz
local_webhooks-899b129d23a7535922ae96264c297970db6ff9f2.zip
The extension is added to the event handler
-rw-r--r--classes/handler.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/handler.php b/classes/handler.php
index eb0905f..c2c737f 100644
--- a/classes/handler.php
+++ b/classes/handler.php
@@ -45,7 +45,7 @@ class handler {
$data = $event->get_data();
if (!is_array($recordlist = local_webhooks_cache_get($data["eventname"]))) {
- $recordlist = local_webhooks_search_services_by_event($data["eventname"]);
+ $recordlist = local_webhooks_search_services_by_event($data["eventname"], true);
local_webhooks_cache_set($data["eventname"], $recordlist);
}