Packer of the received data
This commit is contained in:
1 parent
bae23caa87
commit
a19031d444
1 file changed
+3
@@ -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);
|
||||||
|
|||||||
Reference in new issue
Block a user