diff options
author | msquare <msquare@notrademark.de> | 2017-07-23 11:46:54 +0200 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2017-07-23 11:46:54 +0200 |
commit | a157004f4aefaa5e2265f852f9432becedee1d66 (patch) | |
tree | c47915a311371afa7aa962655fd5ff1ff2ab5e64 /includes/model/ShiftEntry_model.php | |
parent | 36446dd644ff865d1d63aab0ba4c670ce2b277d1 (diff) |
handle failed db queries in Db class
Diffstat (limited to 'includes/model/ShiftEntry_model.php')
-rw-r--r-- | includes/model/ShiftEntry_model.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/includes/model/ShiftEntry_model.php b/includes/model/ShiftEntry_model.php index d7810feb..3a282efc 100644 --- a/includes/model/ShiftEntry_model.php +++ b/includes/model/ShiftEntry_model.php @@ -102,7 +102,6 @@ function ShiftEntry_create($shift_entry) * Update a shift entry. * * @param array $shift_entry - * @return bool */ function ShiftEntry_update($shift_entry) { @@ -120,8 +119,6 @@ function ShiftEntry_update($shift_entry) $shift_entry['id'] ] ); - - return (DB::getStm()->errorCode() == '00000'); } /** |