summaryrefslogtreecommitdiff
path: root/includes/model/Shifts_model.php
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2017-07-19 23:35:20 +0200
committerIgor Scheller <igor.scheller@igorshp.de>2017-07-19 23:35:20 +0200
commitec45216899b192789c2fd88f6dc057937f5927cc (patch)
tree540aa8a5a1a08f4b547083341a4bc423f0af3c29 /includes/model/Shifts_model.php
parent6cfd309bef050fbf9b9e2eba0af32962485f840a (diff)
parent9b3f6f557a127fef16be267c26f8239dc1c22126 (diff)
Merge remote-tracking branch 'engelsystem/feature-igel-rewrite'
Diffstat (limited to 'includes/model/Shifts_model.php')
-rw-r--r--includes/model/Shifts_model.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/includes/model/Shifts_model.php b/includes/model/Shifts_model.php
index b0269362..21abc888 100644
--- a/includes/model/Shifts_model.php
+++ b/includes/model/Shifts_model.php
@@ -266,10 +266,6 @@ function Shift_signup_allowed_angel(
) {
$free_entries = Shift_free_entries($needed_angeltype, $shift_entries);
- if ($user['Gekommen'] == 0) {
- return new ShiftSignupState(ShiftSignupState::SHIFT_ENDED, $free_entries);
- }
-
if ($user_shifts == null) {
$user_shifts = Shifts_by_user($user);
}