diff options
Diffstat (limited to 'includes/model/Shifts_model.php')
-rw-r--r-- | includes/model/Shifts_model.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/includes/model/Shifts_model.php b/includes/model/Shifts_model.php index 11309e11..8530a0c8 100644 --- a/includes/model/Shifts_model.php +++ b/includes/model/Shifts_model.php @@ -11,7 +11,6 @@ function Shift_delete_by_psid($shift_psid) { * Delete a shift. */ function Shift_delete($shift_id) { - mail_shift_delete(Shift($shift_id)); return sql_query("DELETE FROM `Shifts` WHERE `SID`=" . sql_escape($shift_id)); @@ -21,7 +20,6 @@ function Shift_delete($shift_id) { * Update a shift. */ function Shift_update($shift) { - $old_shift = Shift($shift['SID']); mail_shift_change(Shift($shift['SID']), $shift); |