aboutsummaryrefslogtreecommitdiff
path: root/lib.php
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-02-19 12:44:11 +0300
committerValentin Popov <info@valentineus.link>2018-02-19 12:44:11 +0300
commita41dbbb950d4a71aba46aaa25cecc811eb34242e (patch)
treea5e8a13b370ac601a1d6d35b9b154d541fd36a16 /lib.php
parenta68882140b93fd3a7b1e11ee77c13d9931a7083a (diff)
downloadlocal_webhooks-a41dbbb950d4a71aba46aaa25cecc811eb34242e.tar.xz
local_webhooks-a41dbbb950d4a71aba46aaa25cecc811eb34242e.zip
Transferring internal functions to the internal library
Diffstat (limited to 'lib.php')
-rw-r--r--lib.php22
1 files changed, 0 insertions, 22 deletions
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