diff options
author | msquare <msquare@notrademark.de> | 2017-07-28 19:15:52 +0200 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2017-07-28 19:15:52 +0200 |
commit | a0af8d4624be9ca8579817d291036a6727aeb574 (patch) | |
tree | 869e7c39a3ec05aa6a4e478b51eb59bbf42746d1 /includes/controller/shifts_controller.php | |
parent | 5794c4cab8f6ef0529dfc51343b5ec78b134fb2a (diff) |
further switching to db exceptions instead of return false
Diffstat (limited to 'includes/controller/shifts_controller.php')
-rw-r--r-- | includes/controller/shifts_controller.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/includes/controller/shifts_controller.php b/includes/controller/shifts_controller.php index b3ebd18b..92823b11 100644 --- a/includes/controller/shifts_controller.php +++ b/includes/controller/shifts_controller.php @@ -350,9 +350,6 @@ function shifts_json_export_all_controller() } $shifts_source = Shifts(); - if ($shifts_source === false) { - engelsystem_error('Unable to load shifts.'); - } header('Content-Type: application/json; charset=utf-8'); raw_output(json_encode($shifts_source)); |