diff --git a/lam/templates/pdfedit/pdfdelete.php b/lam/templates/pdfedit/pdfdelete.php
deleted file mode 100644
index e9bebbb2..00000000
--- a/lam/templates/pdfedit/pdfdelete.php
+++ /dev/null
@@ -1,106 +0,0 @@
-server()) {
- metaRefresh("../login.php");
- exit;
-}
-
-// check if admin has submited delete operation
-if (isset($_POST['submit'])) {
- // delete user profile
- if(!deletePDFStructureDefinition($_POST['type'],$_POST['delete'])) {
- metaRefresh('pdfmain.php?deleteScope=' . $_POST['type'] . '&deleteFailed=' . $_POST['delete']);
- exit();
- }
- else {
- metaRefresh('pdfmain.php?deleteScope=' . $_POST['type'] . '&deleteSucceeded=' . $_POST['delete']);
- exit();
- }
-}
-
-// check if admin has aborted delete operation
-if (isset($_POST['abort'])) {
- metaRefresh('pdfmain.php');
- exit;
-}
-
-// print standard header
-include '../main_header.php';
-echo "
\n";
-echo "\n";
-echo '
';
-include '../main_footer.php';
diff --git a/lam/templates/profedit/profiledelete.php b/lam/templates/profedit/profiledelete.php
deleted file mode 100644
index b19c339d..00000000
--- a/lam/templates/profedit/profiledelete.php
+++ /dev/null
@@ -1,102 +0,0 @@
-server()) {
- metaRefresh("../login.php");
- exit;
-}
-
-// check if admin has submited delete operation
-if (isset($_POST['submit'])) {
- // delete profile
- if (!delAccountProfile($_POST['del'], $_POST['type'])) {
- metaRefresh('profilemain.php?deleteScope=' . $_POST['type'] . '&deleteFailed=' . $_POST['del']);
- exit();
- }
- else {
- metaRefresh('profilemain.php?deleteScope=' . $_POST['type'] . '&deleteSucceeded=' . $_POST['del']);
- exit();
- }
-}
-
-// check if admin has aborted delete operation
-if (isset($_POST['abort'])) {
- metaRefresh('profilemain.php');
- exit;
-}
-
-// print standard header
-include '../main_header.php';
-echo "\n";
-echo "\n";
-echo "
";
-include '../main_footer.php';