Merge pull request #20 from hotspotbilling/Development

Fix old deprecated code
This commit is contained in:
iBNu Maksum 2023-03-12 10:26:36 +07:00 committed by GitHub
commit f6e5bac86a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 1 deletions

View File

@ -228,6 +228,23 @@ function alphanumeric($str, $tambahan = "")
return preg_replace("/[^a-zA-Z0-9" . $tambahan . "]+/", "", $str); 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) function time_elapsed_string($datetime, $full = false)
{ {
$now = new DateTime; $now = new DateTime;

View File

@ -1,3 +1,3 @@
{ {
"version": "2023.3.6" "version": "2023.3.12"
} }