summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-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,