From 6bc9db9117b52b72dc8f24bdfec8aaf813951850 Mon Sep 17 00:00:00 2001 From: coolneng Date: Thu, 16 Jul 2020 03:11:40 +0200 Subject: [PATCH] Clean up unused appointment functions --- src/appointment_management.php | 2 +- src/report_management.php | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/src/appointment_management.php b/src/appointment_management.php index d2656d1..8d85813 100644 --- a/src/appointment_management.php +++ b/src/appointment_management.php @@ -112,7 +112,7 @@ if(isset($_POST["edit_form"])){ } if(isset($_POST["edit"])){ - appointmentModification(); + appointmentModification(); } if(isset($_POST["delete"])){ diff --git a/src/report_management.php b/src/report_management.php index f8feae5..da88128 100644 --- a/src/report_management.php +++ b/src/report_management.php @@ -33,13 +33,6 @@ function reportDeletion() } -function printPDF() -{ - $id = $_GET["print_pdf"]; - header('location: report.php'); -} - - if (isset($_POST["create"])) { reportCreation(); } @@ -53,8 +46,3 @@ if (isset($_POST["edit"])) { if (isset($_GET["delete"])) { reportDeletion(); } - - -if (isset($_GET["print_pdf"])) { - printPDF(); -}