diff options
author | Valentin Popov <info@valentineus.link> | 2017-11-18 05:31:25 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2017-11-18 05:31:25 +0300 |
commit | 97140dccf76f878991853d827449ca608eb91864 (patch) | |
tree | 7017e6d948a6aaa0bd36a10921987cc614132322 /classes/handler.php | |
parent | bf2cef3ea035f4487e4b41e3033c60b1f1f0ead3 (diff) | |
download | local_webhooks-97140dccf76f878991853d827449ca608eb91864.tar.xz local_webhooks-97140dccf76f878991853d827449ca608eb91864.zip |
Aesthetics in the code
Diffstat (limited to 'classes/handler.php')
-rw-r--r-- | classes/handler.php | 9 |
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(); } |