summaryrefslogtreecommitdiff
path: root/includes/controller
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2019-10-21 09:12:10 +0200
committerGitHub <noreply@github.com>2019-10-21 09:12:10 +0200
commit9b08b951a2f7036519a9711ff4aa32a8709e261d (patch)
treed3e42cbb043a854c11f11e735447bebb302f9d43 /includes/controller
parent4e65e6f73ae13d5d833e37f5a841c375cdde9530 (diff)
parent52b8b6b45c68dff281e101bc27375347f296ba5e (diff)
Merge pull request #651 from MyIgel/shift-deletion-worklog
Save time of past shifts as worklog if they get deleted
Diffstat (limited to 'includes/controller')
-rw-r--r--includes/controller/shifts_controller.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/controller/shifts_controller.php b/includes/controller/shifts_controller.php
index 726814cf..15f92a9d 100644
--- a/includes/controller/shifts_controller.php
+++ b/includes/controller/shifts_controller.php
@@ -221,6 +221,7 @@ function shift_delete_controller()
// Schicht löschen bestätigt
if ($request->hasPostData('delete')) {
+ UserWorkLog_from_shift($shift_id);
Shift_delete($shift_id);
engelsystem_log(