summaryrefslogtreecommitdiff
path: root/includes/controller/shifttypes_controller.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2016-10-04 21:20:38 +0200
committermsquare <msquare@notrademark.de>2016-10-04 21:20:38 +0200
commit27c9650dc4064ec5b40c5041d8291a7ce0e5305e (patch)
treee2896b891a04615af48419c703ed09c5124d4d0e /includes/controller/shifttypes_controller.php
parenta50b26490cf3c76d6dae293cb34b4cbff01133b6 (diff)
reduce complexity of shifts controller
Diffstat (limited to 'includes/controller/shifttypes_controller.php')
-rw-r--r--includes/controller/shifttypes_controller.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/includes/controller/shifttypes_controller.php b/includes/controller/shifttypes_controller.php
index 5e547895..456e39ae 100644
--- a/includes/controller/shifttypes_controller.php
+++ b/includes/controller/shifttypes_controller.php
@@ -48,9 +48,6 @@ function shifttype_edit_controller() {
$description = "";
$angeltypes = AngelTypes();
- if ($angeltypes === false) {
- engelsystem_error("Unable to load angel types.");
- }
if (isset($_REQUEST['shifttype_id'])) {
$shifttype = ShiftType($_REQUEST['shifttype_id']);