useless code removed

This commit is contained in:
2020-08-25 05:48:04 +03:00
parent 6993be500e
commit 147a39e67a

View File

@ -11,10 +11,7 @@
http://github.com/Mestima
*/
if (isset($_POST["content"]) != true || isset($_POST["webhook"]) != true ||
$_POST["content"] == "" || $_POST["webhook"] == "") {
exit();
}
if (!isset($_POST["content"]) || !isset($_POST["webhook"])) exit();
$options = array(
'http' => array(