Packer of the received data
This commit is contained in:
parent
bae23caa87
commit
a19031d444
@ -63,6 +63,9 @@ if ($data = $mform->get_data()) {
|
|||||||
$data->enable = 0;
|
$data->enable = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Packing of data */
|
||||||
|
$data->events = base64_encode(gzcompress(serialize($data->events), 9));
|
||||||
|
|
||||||
if ($idediting) {
|
if ($idediting) {
|
||||||
$data->id = $idservice;
|
$data->id = $idservice;
|
||||||
$DB->update_record("local_webhooks_service", $data);
|
$DB->update_record("local_webhooks_service", $data);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user