aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2017-11-18 07:29:21 +0300
committerValentin Popov <info@valentineus.link>2017-11-18 07:29:21 +0300
commit29c12fa971a22d695ed7b34f67758b5558e14202 (patch)
treeb67255440362201d59a2bb6a411593c22a888bdc
parent1e8cbe7f0968555f14b2267da7adf98b12446cac (diff)
downloadlocal_webhooks-29c12fa971a22d695ed7b34f67758b5558e14202.tar.xz
local_webhooks-29c12fa971a22d695ed7b34f67758b5558e14202.zip
Renaming an event
-rw-r--r--classes/event/response_answer.php (renamed from classes/event/response_get.php)2
-rw-r--r--classes/handler.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/classes/event/response_get.php b/classes/event/response_answer.php
index 5e25474..f104eec 100644
--- a/classes/event/response_get.php
+++ b/classes/event/response_answer.php
@@ -32,7 +32,7 @@ defined("MOODLE_INTERNAL") || die();
* @copyright 2017 "Valentin Popov" <info@valentineus.link>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
-class response_get extends \core\event\base {
+class response_answer extends \core\event\base {
/**
* Init method.
*/
diff --git a/classes/handler.php b/classes/handler.php
index 8e20db8..6f9c63a 100644
--- a/classes/handler.php
+++ b/classes/handler.php
@@ -123,7 +123,7 @@ class handler {
$status = $response["HTTP/1.1"];
}
- $event = \local_webhooks\event\response_get::create(
+ $event = \local_webhooks\event\response_answer::create(
array(
"context" => \context_system::instance(0),
"objectid" => $callback->id,