mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-02-24 07:26:16 +08:00
fix old deprecated code
This commit is contained in:
parent
b0542ab8be
commit
bbc830de26
1 changed files with 17 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue