From 88f3bafa5e41217b5a7dd49271429099515de9c8 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Wed, 31 Oct 2018 12:48:22 +0100 Subject: Replaced `Auth()` with `auth()` --- includes/pages/user_shifts.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/pages/user_shifts.php') 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) . '

' . sprintf( -- cgit v1.2.3-54-g00ecf