From 14f8d208b817d8d7dccebdb5f7a6ada2bcb9d5f4 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Thu, 28 Nov 2019 16:24:07 +0100 Subject: [PATCH] Removed global $ical_shifts --- includes/pages/user_shifts.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/includes/pages/user_shifts.php b/includes/pages/user_shifts.php index 5aaec56e..8e3c8ded 100644 --- a/includes/pages/user_shifts.php +++ b/includes/pages/user_shifts.php @@ -171,11 +171,9 @@ function load_types() */ function view_user_shifts() { - global $ical_shifts; $user = auth()->user(); $session = session(); - $ical_shifts = []; $days = load_days(); $rooms = load_rooms(); $types = load_types();