fix old deprecated code

This commit is contained in:
ibnux 2023-03-12 10:24:31 +07:00
parent b0542ab8be
commit bbc830de26

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;