summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2017-07-28 20:26:12 +0200
committermsquare <msquare@notrademark.de>2017-07-28 20:26:12 +0200
commit7f4aa6daa5a8ce72055f2328cf8c17eb8a691b79 (patch)
treedf690e23a4ede6c74e3fd577b57f237b2063423d
parent26515d75827c18655c0e2e2ed174cdbf7419a7b9 (diff)
remove exit commands after redirects (redirect does already die)
-rw-r--r--includes/controller/rooms_controller.php3
-rw-r--r--includes/controller/shifts_controller.php1
-rw-r--r--includes/controller/user_angeltypes_controller.php1
3 files changed, 0 insertions, 5 deletions
diff --git a/includes/controller/rooms_controller.php b/includes/controller/rooms_controller.php
index 2d6f1a77..6d0864ae 100644
--- a/includes/controller/rooms_controller.php
+++ b/includes/controller/rooms_controller.php
@@ -79,10 +79,7 @@ function rooms_controller()
case 'list':
default:
redirect(page_link_to('admin_rooms'));
- break;
}
-
- exit;
}
/**
diff --git a/includes/controller/shifts_controller.php b/includes/controller/shifts_controller.php
index 92823b11..96f12baa 100644
--- a/includes/controller/shifts_controller.php
+++ b/includes/controller/shifts_controller.php
@@ -326,7 +326,6 @@ function shift_next_controller()
}
redirect(page_link_to('user_shifts'));
- exit;
}
/**
diff --git a/includes/controller/user_angeltypes_controller.php b/includes/controller/user_angeltypes_controller.php
index ab16139a..f212716d 100644
--- a/includes/controller/user_angeltypes_controller.php
+++ b/includes/controller/user_angeltypes_controller.php
@@ -419,6 +419,5 @@ function user_angeltypes_controller()
return user_angeltype_add_controller();
default:
redirect(page_link_to('angeltypes'));
- exit;
}
}