Correcting an error with a variable
This commit is contained in:
parent
804fc061ed
commit
aaacb23d41
@ -34,7 +34,7 @@ $PAGE->set_context($context);
|
|||||||
|
|
||||||
/* Delete the service */
|
/* Delete the service */
|
||||||
if ($deleteservice && confirm_sesskey()) {
|
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"));
|
redirect($PAGE->url, new lang_string("servicedeleted", "local_webhooks"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user