From b74ea05d08003252a1f88a0ae4cf09e7f4c3908f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mu=C3=B1oz=20Garcia?= <73303506+danimu03@users.noreply.github.com> Date: Sun, 2 May 2021 17:26:26 +0200 Subject: [PATCH] Delete update_film.php --- panel_admin/update_film.php | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 panel_admin/update_film.php diff --git a/panel_admin/update_film.php b/panel_admin/update_film.php deleted file mode 100644 index 71faa9f..0000000 --- a/panel_admin/update_film.php +++ /dev/null @@ -1,22 +0,0 @@ -processesForm(null, $_POST['tittle'], $_POST['duration'], $_POST['language'], $_POST['description'], "new"); - $_SESSION['message'] = $film->getReply(); - } - else if(isset($_POST['confirm_delete_film'])) { - $film = new FormFilm(); - $film->processesForm($_POST['id'],null,null,null,null,"del"); - $_SESSION['message'] = $film->getReply(); - } - else if(isset($_POST['confirm_edit_film'])) { - $film = new FormFilm(); - $film->processesForm($_POST['id'], $_POST['tittle'], $_POST['duration'], $_POST['language'], $_POST['description'], "edit"); - $_SESSION['message']= $film->getReply(); - } - header('Location: ../panel_admin/index.php?state=mf'); - -?> \ No newline at end of file