summaryrefslogtreecommitdiff
path: root/includes/model/Shifts_model.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2016-12-29 15:33:21 +0100
committermsquare <msquare@notrademark.de>2016-12-29 15:33:21 +0100
commitb8ebd23f6df8317a2b091335640ddd89de8cc55b (patch)
tree7190acd8b0ed5cbab945e978a23d583ef6694342 /includes/model/Shifts_model.php
parent51eb22a1c651ffabd10d772b7e06ec05c46c5b86 (diff)
bring back filtering by occupancy
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 a9a1cd7f..29156423 100644
--- a/includes/model/Shifts_model.php
+++ b/includes/model/Shifts_model.php
@@ -251,10 +251,6 @@ function Shift_signup_allowed_admin($angeltype, $needed_angeltype, $shift_entrie
function Shift_signup_allowed($signup_user, $shift, $angeltype, $user_angeltype = null, $user_shifts = null, $needed_angeltype, $shift_entries) {
global $user, $privileges;
-// if($shift['SID']==1907) {
-// print_r(Shift_signup_allowed_admin($angeltype, $needed_angeltype, $shift_entries));
-// }
-
if (in_array('user_shifts_admin', $privileges)) {
return Shift_signup_allowed_admin($angeltype, $needed_angeltype, $shift_entries);
}