mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-03 17:54:41 +02:00
Merge pull request #20 from hotspotbilling/Development
Fix old deprecated code
This commit is contained in:
commit
f6e5bac86a
2 changed files with 18 additions and 1 deletions
|
@ -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;
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
"version": "2023.3.6"
|
||||
"version": "2023.3.12"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue