summaryrefslogtreecommitdiff
path: root/includes/view/Shifts_view.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2016-10-04 16:50:06 +0200
committermsquare <msquare@notrademark.de>2016-10-04 16:50:06 +0200
commiteec10ebfc5c14ab9b72d3b81b7d44a2e507f5473 (patch)
tree9cb1a879919b93f832796cb449229ec9a54e9ac0 /includes/view/Shifts_view.php
parent455e41720068740c523bfc4b15cf30e3811e4281 (diff)
reduce complexity of user angeltypes controller
Diffstat (limited to 'includes/view/Shifts_view.php')
-rw-r--r--includes/view/Shifts_view.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/includes/view/Shifts_view.php b/includes/view/Shifts_view.php
index 95282eb5..1b910f5c 100644
--- a/includes/view/Shifts_view.php
+++ b/includes/view/Shifts_view.php
@@ -16,9 +16,6 @@ function Shift_signup_button_render($shift, $angeltype, $user_angeltype = null,
if ($user_angeltype == null) {
$user_angeltype = UserAngelType_by_User_and_AngelType($user, $angeltype);
- if ($user_angeltype === false) {
- engelsystem_error('Unable to load user angeltype.');
- }
}
if (Shift_signup_allowed($shift, $angeltype, $user_angeltype, $user_shifts)) {