summaryrefslogtreecommitdiff
path: root/includes/pages/user_shifts.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/pages/user_shifts.php')
-rw-r--r--includes/pages/user_shifts.php4
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(