Merge pull request #2 from hotspotbilling/Development

Fix old deprecated function
This commit is contained in:
iBNu Maksum 2023-03-12 10:27:19 +07:00 committed by GitHub
commit a0af30c12b
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);
}
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;

View file

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