Renaming an event
This commit is contained in:
parent
1e8cbe7f09
commit
29c12fa971
@ -32,7 +32,7 @@ defined("MOODLE_INTERNAL") || die();
|
|||||||
* @copyright 2017 "Valentin Popov" <info@valentineus.link>
|
* @copyright 2017 "Valentin Popov" <info@valentineus.link>
|
||||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
* @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.
|
* Init method.
|
||||||
*/
|
*/
|
@ -123,7 +123,7 @@ class handler {
|
|||||||
$status = $response["HTTP/1.1"];
|
$status = $response["HTTP/1.1"];
|
||||||
}
|
}
|
||||||
|
|
||||||
$event = \local_webhooks\event\response_get::create(
|
$event = \local_webhooks\event\response_answer::create(
|
||||||
array(
|
array(
|
||||||
"context" => \context_system::instance(0),
|
"context" => \context_system::instance(0),
|
||||||
"objectid" => $callback->id,
|
"objectid" => $callback->id,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user