mange subscriptions

This commit is contained in:
jhuesser
2018-06-07 15:36:57 +02:00
committed by Thomas Nilsen
parent cea55bd2b8
commit efe4c3d42f
2 changed files with 49 additions and 5 deletions
-1
View File
@@ -170,7 +170,6 @@ class Incident implements JsonSerializable
$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));
print_r($response);
}
}