From 25f175683505b028bb075a38cc9cd5619bdbfe50 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Tue, 13 Mar 2018 01:50:55 +0400 Subject: The internal functions 'local_webhooks_serialization_data' and 'local_webhooks_deserialization_data' are deleted Signed-off-by: Valentin Popov --- locallib.php | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'locallib.php') diff --git a/locallib.php b/locallib.php index afc917c..d615c6a 100644 --- a/locallib.php +++ b/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 * -- cgit v1.2.3