aboutsummaryrefslogtreecommitdiff
path: root/classes/handler.php
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2017-11-18 05:31:25 +0300
committerValentin Popov <info@valentineus.link>2017-11-18 05:31:25 +0300
commit97140dccf76f878991853d827449ca608eb91864 (patch)
tree7017e6d948a6aaa0bd36a10921987cc614132322 /classes/handler.php
parentbf2cef3ea035f4487e4b41e3033c60b1f1f0ead3 (diff)
downloadlocal_webhooks-97140dccf76f878991853d827449ca608eb91864.tar.xz
local_webhooks-97140dccf76f878991853d827449ca608eb91864.zip
Aesthetics in the code
Diffstat (limited to 'classes/handler.php')
-rw-r--r--classes/handler.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/classes/handler.php b/classes/handler.php
index a9fddf7..ac933a9 100644
--- a/classes/handler.php
+++ b/classes/handler.php
@@ -120,12 +120,13 @@ class handler {
$event = \local_webhooks\event\response_get::create(
array(
- "context" => \context_system::instance(0),
+ "context" => \context_system::instance(0),
"objectid" => $callback->id,
- "other" => array(
- "status" => $status
+ "other" => array(
+ "status" => $status
+ )
)
- ));
+ );
$event->trigger();
}