Update event registration classes
This commit is contained in:
parent
2ae949bbc3
commit
bec8dcdc08
@ -60,6 +60,6 @@ class backup_performed extends \core\event\base {
|
|||||||
* Get URL related to the action.
|
* Get URL related to the action.
|
||||||
*/
|
*/
|
||||||
public function get_url() {
|
public function get_url() {
|
||||||
return new \moodle_url("/local/webhooks/managerservice.php");
|
return new \moodle_url("/local/webhooks/index.php");
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -60,6 +60,6 @@ class backup_restored extends \core\event\base {
|
|||||||
* Get URL related to the action.
|
* Get URL related to the action.
|
||||||
*/
|
*/
|
||||||
public function get_url() {
|
public function get_url() {
|
||||||
return new \moodle_url("/local/webhooks/managerservice.php");
|
return new \moodle_url("/local/webhooks/index.php");
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -60,6 +60,6 @@ class service_deleted extends \core\event\base {
|
|||||||
* Get URL related to the action.
|
* Get URL related to the action.
|
||||||
*/
|
*/
|
||||||
public function get_url() {
|
public function get_url() {
|
||||||
return new \moodle_url("/local/webhooks/editservice.php", array("serviceid" => $this->objectid));
|
return new \moodle_url("/local/webhooks/index.php");
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user