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/pages/user_shifts.php | |
parent | 82b22160fde48e726e7413c0f93bbf932d148b4c (diff) |
Replaced `Auth()` with `auth()`
Diffstat (limited to 'includes/pages/user_shifts.php')
-rw-r--r-- | includes/pages/user_shifts.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/pages/user_shifts.php b/includes/pages/user_shifts.php index 3e300e3c..cef6af73 100644 --- a/includes/pages/user_shifts.php +++ b/includes/pages/user_shifts.php @@ -128,7 +128,7 @@ function load_days() */ function load_types() { - $user = Auth()->user(); + $user = auth()->user(); if (!count(DB::select('SELECT `id`, `name` FROM `AngelTypes` WHERE `restricted` = 0'))) { error(__('The administration has not configured any angeltypes yet - or you are not subscribed to any angeltype.')); @@ -284,7 +284,7 @@ function view_user_shifts() */ function ical_hint() { - $user = Auth()->user(); + $user = auth()->user(); return heading(__('iCal export'), 2) . '<p>' . sprintf( |