The internal functions 'local_webhooks_serialization_data' and 'local_webhooks_deserialization_data' are deleted
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
490b8bb170
commit
25f1756835
20
locallib.php
20
locallib.php
@ -129,26 +129,6 @@ function local_webhooks_delete_events_for_service($serviceid) {
|
||||
return $DB->delete_records(LOCAL_WEBHOOKS_TABLE_EVENTS, array("serviceid" => $serviceid));
|
||||
}
|
||||
|
||||
/**
|
||||
* Data serialization.
|
||||
*
|
||||
* @param array|object $data
|
||||
* @return string
|
||||
*/
|
||||
function local_webhooks_serialization_data($data) {
|
||||
return serialize($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Data deserialization.
|
||||
*
|
||||
* @param string $data
|
||||
* @return array|object
|
||||
*/
|
||||
function local_webhooks_deserialization_data($data) {
|
||||
return unserialize($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Description of functions of the call of events
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user