Packer of the received data

This commit is contained in:
Valentin Popov 2017-10-26 06:27:04 +04:00
parent bae23caa87
commit a19031d444

View File

@ -63,6 +63,9 @@ if ($data = $mform->get_data()) {
$data->enable = 0;
}
/* Packing of data */
$data->events = base64_encode(gzcompress(serialize($data->events), 9));
if ($idediting) {
$data->id = $idservice;
$DB->update_record("local_webhooks_service", $data);