diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2018-10-31 12:48:22 +0100 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2018-10-31 13:43:23 +0100 |
commit | 88f3bafa5e41217b5a7dd49271429099515de9c8 (patch) | |
tree | 1e76d4aea0220561286106e3900a5a2587a1f5da /includes/model/Shifts_model.php | |
parent | 82b22160fde48e726e7413c0f93bbf932d148b4c (diff) |
Replaced `Auth()` with `auth()`
Diffstat (limited to 'includes/model/Shifts_model.php')
-rw-r--r-- | includes/model/Shifts_model.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/model/Shifts_model.php b/includes/model/Shifts_model.php index cc909954..d6fbe3b6 100644 --- a/includes/model/Shifts_model.php +++ b/includes/model/Shifts_model.php @@ -519,7 +519,7 @@ function Shift_delete($shift_id) */ function Shift_update($shift) { - $user = Auth()->user(); + $user = auth()->user(); $shift['name'] = ShiftType($shift['shifttype_id'])['name']; mail_shift_change(Shift($shift['SID']), $shift); |