aboutsummaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2017-10-27 07:51:27 +0300
committerValentin Popov <info@valentineus.link>2017-10-27 07:51:27 +0300
commit1160a52753cfc027f970cad9d889f0a5a81c1074 (patch)
tree3cd85324fb3366c2472b2e21e5928c36a054cf88 /classes
parentaf6ac9fb22deae77148ae82663131ae3b1d251a6 (diff)
downloadlocal_webhooks-1160a52753cfc027f970cad9d889f0a5a81c1074.tar.xz
local_webhooks-1160a52753cfc027f970cad9d889f0a5a81c1074.zip
Rename the handler class
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)) {