diff options
author | msquare <msquare@notrademark.de> | 2017-07-19 21:30:18 +0200 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2017-07-19 21:30:18 +0200 |
commit | 903a1f97902414fd2b5028726ee3a864e405f11a (patch) | |
tree | dd403a24c7dafcda84c7c1e7889cbaf3a56a38a3 /includes | |
parent | e93dd774a5c8338b6c29b8b39b6d883925b9ac61 (diff) |
remove 24h shift filter time range limit
Diffstat (limited to 'includes')
-rw-r--r-- | includes/model/ShiftsFilter.php | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/includes/model/ShiftsFilter.php b/includes/model/ShiftsFilter.php index 47ef50d7..3b691b55 100644 --- a/includes/model/ShiftsFilter.php +++ b/includes/model/ShiftsFilter.php @@ -10,12 +10,6 @@ namespace Engelsystem; class ShiftsFilter { /** - * How long can the time interval be? - * 86400 = one day - */ - const MAX_DURATION = 86400; - - /** * Shift is completely full. */ const FILLED_FILLED = 1; @@ -98,9 +92,6 @@ class ShiftsFilter */ public function setEndTime($endTime) { - if ($endTime - $this->startTime > ShiftsFilter::MAX_DURATION) { - $endTime = $this->startTime + ShiftsFilter::MAX_DURATION; - } $this->endTime = $endTime; } |