forked from kevinowino869/mitrobill
Merge pull request #20 from hotspotbilling/Development
Fix old deprecated code
This commit is contained in:
commit
f6e5bac86a
@ -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;
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"version": "2023.3.6"
|
"version": "2023.3.12"
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user