diff options
author | msquare <msquare@notrademark.de> | 2016-12-28 12:11:35 +0100 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2016-12-28 12:11:35 +0100 |
commit | 0603d0dd4eee2e051c1cab235ef32b5e147495ad (patch) | |
tree | c72b079c2c12d8bdbf6e5f98401553504d90be28 /includes/view | |
parent | 363cc8f6b534ed6353ffe8acb020ba6e1d3ccff4 (diff) |
remove unused code
Diffstat (limited to 'includes/view')
-rw-r--r-- | includes/view/Shifts_view.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/view/Shifts_view.php b/includes/view/Shifts_view.php index c2c0912e..765a6f3b 100644 --- a/includes/view/Shifts_view.php +++ b/includes/view/Shifts_view.php @@ -12,9 +12,9 @@ function Shift_editor_info_render($shift) { return join('<br />', $info); } -function Shift_signup_button_render($shift, $angeltype, $user_angeltype = null, $user_shifts = null) { +function Shift_signup_button_render($shift, $angeltype, $user_angeltype = null) { global $user; - + if ($user_angeltype == null) { $user_angeltype = UserAngelType_by_User_and_AngelType($user, $angeltype); } |