summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/handler.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/classes/handler.php b/classes/handler.php
index b1ae2dc..a9fddf7 100644
--- a/classes/handler.php
+++ b/classes/handler.php
@@ -41,12 +41,8 @@ class handler {
* @param object $event
*/
public static function events($event) {
- $enable = get_config("local_webhooks", "enable");
-
- if (boolval($enable)) {
- $data = $event->get_data();
- self::transmitter($data);
- }
+ $data = $event->get_data();
+ self::transmitter($data);
}
/**