mirror of
https://github.com/ShaYmez/FreeSTAR-Status-Engine.git
synced 2025-07-02 16:55:16 -04:00
removed unused lastname
This commit is contained in:
parent
efe4c3d42f
commit
d0d0572b82
@ -166,7 +166,6 @@ class Incident implements JsonSerializable
|
||||
while($subscriberData = $subscriberQuery->fetch_assoc()){
|
||||
$telegramID = $subscriberData['telegramID'];
|
||||
$firstname = $subscriberData['firstname'];
|
||||
$lastname = $subscriberData['lastname'];
|
||||
|
||||
$tg_message = urlencode('Hi ' . $firstname . chr(10) . 'There is a status update on a service that you have subscribed. <a href="' . WEB_URL . '">View online</a>');
|
||||
$response = json_decode(file_get_contents("https://api.telegram.org/bot" . TG_BOT_API_TOKEN . "/sendMessage?chat_id=" . $telegramID . "&parse_mode=HTML&text=" . $tg_message));
|
||||
|
Loading…
x
Reference in New Issue
Block a user