From 0603d0dd4eee2e051c1cab235ef32b5e147495ad Mon Sep 17 00:00:00 2001 From: msquare Date: Wed, 28 Dec 2016 12:11:35 +0100 Subject: remove unused code --- includes/view/Shifts_view.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/view') 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('
', $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); } -- cgit v1.2.3-70-g09d2