summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2019-11-28 16:24:07 +0100
committerIgor Scheller <igor.scheller@igorshp.de>2019-11-28 16:24:33 +0100
commit14f8d208b817d8d7dccebdb5f7a6ada2bcb9d5f4 (patch)
tree8a46fbaf60625685e5610b306b003040e0b6e7e6 /includes
parent0e386d2c7fd46832fa67ce574637d30a15e88641 (diff)
Removed global $ical_shifts
Diffstat (limited to 'includes')
-rw-r--r--includes/pages/user_shifts.php2
1 files changed, 0 insertions, 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();