diff options
author | msquare <msquare@notrademark.de> | 2016-10-04 21:20:38 +0200 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2016-10-04 21:20:38 +0200 |
commit | 27c9650dc4064ec5b40c5041d8291a7ce0e5305e (patch) | |
tree | e2896b891a04615af48419c703ed09c5124d4d0e /includes/controller/shift_entries_controller.php | |
parent | a50b26490cf3c76d6dae293cb34b4cbff01133b6 (diff) |
reduce complexity of shifts controller
Diffstat (limited to 'includes/controller/shift_entries_controller.php')
-rw-r--r-- | includes/controller/shift_entries_controller.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/includes/controller/shift_entries_controller.php b/includes/controller/shift_entries_controller.php index d704c299..9e252a4f 100644 --- a/includes/controller/shift_entries_controller.php +++ b/includes/controller/shift_entries_controller.php @@ -21,9 +21,6 @@ function shift_entry_add_controller() { $shift = Shift($shift_id); $shift['Name'] = $room_array[$shift['RID']]; - if ($shift === false) { - engelsystem_error('Unable to load shift.'); - } if ($shift == null) { redirect(page_link_to('user_shifts')); } |