Removed global $ical_shifts
This commit is contained in:
parent
0e386d2c7f
commit
14f8d208b8
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue