From bbc830de26e5172848acb5749625633e7b7c8142 Mon Sep 17 00:00:00 2001 From: ibnux Date: Sun, 12 Mar 2023 10:24:31 +0700 Subject: [PATCH 1/2] fix old deprecated code --- system/boot.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/system/boot.php b/system/boot.php index 2b55909b..8c221a87 100644 --- a/system/boot.php +++ b/system/boot.php @@ -228,6 +228,23 @@ function alphanumeric($str, $tambahan = "") return preg_replace("/[^a-zA-Z0-9" . $tambahan . "]+/", "", $str); } + +function sendTelegram($txt) +{ + Message::sendTelegram($txt); +} + +function sendSMS($phone, $txt) +{ + Message::sendSMS($phone, $txt); +} + +function sendWhatsapp($phone, $txt) +{ + Message::sendWhatsapp($phone, $txt); +} + + function time_elapsed_string($datetime, $full = false) { $now = new DateTime; From 9f09909616ded0c33fba4c59254985333ec1b53d Mon Sep 17 00:00:00 2001 From: ibnux Date: Sun, 12 Mar 2023 10:25:38 +0700 Subject: [PATCH 2/2] 2023.3.12 --- version.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.json b/version.json index e8592d2c..e8709e97 100644 --- a/version.json +++ b/version.json @@ -1,3 +1,3 @@ { - "version": "2023.3.6" + "version": "2023.3.12" } \ No newline at end of file