summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/handler.php (renamed from classes/events.php)4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/events.php b/classes/handler.php
index 419ad50..5bc5473 100644
--- a/classes/events.php
+++ b/classes/handler.php
@@ -36,13 +36,13 @@ use curl;
* @copyright 2017 "Valentin Popov" <info@valentineus.link>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
-class events {
+class handler {
/**
* External handler.
*
* @param object $event
*/
- public static function handler($event) {
+ public static function events($event) {
$enable = get_config("local_webhooks", "enable");
if (boolval($enable)) {