aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2017-11-23 21:00:36 +0300
committerValentin Popov <info@valentineus.link>2017-11-23 21:00:36 +0300
commitbec8dcdc0872775f35b43664cc1d5a450c0094ca (patch)
tree66b2b99a98c745e574f90a9e640fe85f01ed241a
parent2ae949bbc396b68beeb2ee6cfd5c7c0d0843d9cb (diff)
downloadlocal_webhooks-bec8dcdc0872775f35b43664cc1d5a450c0094ca.tar.xz
local_webhooks-bec8dcdc0872775f35b43664cc1d5a450c0094ca.zip
Update event registration classes
-rw-r--r--classes/event/backup_performed.php2
-rw-r--r--classes/event/backup_restored.php2
-rw-r--r--classes/event/service_deleted.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/classes/event/backup_performed.php b/classes/event/backup_performed.php
index b347098..206e730 100644
--- a/classes/event/backup_performed.php
+++ b/classes/event/backup_performed.php
@@ -60,6 +60,6 @@ class backup_performed extends \core\event\base {
* Get URL related to the action.
*/
public function get_url() {
- return new \moodle_url("/local/webhooks/managerservice.php");
+ return new \moodle_url("/local/webhooks/index.php");
}
} \ No newline at end of file
diff --git a/classes/event/backup_restored.php b/classes/event/backup_restored.php
index 5f671b1..f0ba273 100644
--- a/classes/event/backup_restored.php
+++ b/classes/event/backup_restored.php
@@ -60,6 +60,6 @@ class backup_restored extends \core\event\base {
* Get URL related to the action.
*/
public function get_url() {
- return new \moodle_url("/local/webhooks/managerservice.php");
+ return new \moodle_url("/local/webhooks/index.php");
}
} \ No newline at end of file
diff --git a/classes/event/service_deleted.php b/classes/event/service_deleted.php
index c827e94..3937f85 100644
--- a/classes/event/service_deleted.php
+++ b/classes/event/service_deleted.php
@@ -60,6 +60,6 @@ class service_deleted extends \core\event\base {
* Get URL related to the action.
*/
public function get_url() {
- return new \moodle_url("/local/webhooks/editservice.php", array("serviceid" => $this->objectid));
+ return new \moodle_url("/local/webhooks/index.php");
}
} \ No newline at end of file