cms.lottery-delete.php 282 B

1234567891011
  1. <?php
  2. if(core::ifGet("id")) {
  3. lottery::deleteInscriptionLottery(core::getGet("id"));
  4. lottery::deleteLottery(core::getGet("id"));
  5. json::create("lottery");
  6. alert::recSuccess("Le tirage au sort vient d'être supprimé");
  7. }
  8. header("Location: /lotterys.html");
  9. exit();