summaryrefslogtreecommitdiff
path: root/managerservice.php
diff options
context:
space:
mode:
Diffstat (limited to 'managerservice.php')
-rw-r--r--managerservice.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/managerservice.php b/managerservice.php
index 7f71a3a..62131d2 100644
--- a/managerservice.php
+++ b/managerservice.php
@@ -34,7 +34,7 @@ $PAGE->set_context($context);
/* Delete the service */
if ($deleteservice && confirm_sesskey()) {
- $DB->delete_records("local_webhooks_service", array("id" => $deleterssid));
+ $DB->delete_records("local_webhooks_service", array("id" => $deleteservice));
redirect($PAGE->url, new lang_string("servicedeleted", "local_webhooks"));
}