From a41dbbb950d4a71aba46aaa25cecc811eb34242e Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Mon, 19 Feb 2018 13:44:11 +0400 Subject: Transferring internal functions to the internal library --- lib.php | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'lib.php') diff --git a/lib.php b/lib.php index 0b35651..2f6a020 100644 --- a/lib.php +++ b/lib.php @@ -258,26 +258,4 @@ function local_webhooks_send_request($event, $callback) { local_webhooks_events::response_answer($callback->id, $response); return $response; -} - -/** - * Data serialization. - * - * @param array|object $data - * @return string - */ -function local_webhooks_serialization_data($data) { - $result = serialize($data); - return $result; -} - -/** - * Data deserialization. - * - * @param string $data - * @return array|object - */ -function local_webhooks_deserialization_data($data) { - $result = unserialize($data); - return $result; } \ No newline at end of file -- cgit v1.2.3