aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/events.php13
1 files changed, 6 insertions, 7 deletions
diff --git a/db/events.php b/db/events.php
index 809ed43..d061b21 100644
--- a/db/events.php
+++ b/db/events.php
@@ -22,15 +22,14 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
-defined('MOODLE_INTERNAL') || die();
+defined("MOODLE_INTERNAL") || die();
-$config = get_config('local_webhooks');
$observers = array(
array(
- 'eventname' => '*',
- 'callback' => '\local_webhooks\events::handler',
- 'includefile' => null,
- 'priority' => 200,
- 'internal' => true
+ "eventname" => "*",
+ "callback" => "\local_webhooks\\events::handler",
+ "includefile" => null,
+ "priority" => 200,
+ "internal" => true
)
); \ No newline at end of file