Removed global $ical_shifts
This commit is contained in:
parent
0e386d2c7f
commit
14f8d208b8
|
@ -171,11 +171,9 @@ function load_types()
|
||||||
*/
|
*/
|
||||||
function view_user_shifts()
|
function view_user_shifts()
|
||||||
{
|
{
|
||||||
global $ical_shifts;
|
|
||||||
$user = auth()->user();
|
$user = auth()->user();
|
||||||
|
|
||||||
$session = session();
|
$session = session();
|
||||||
$ical_shifts = [];
|
|
||||||
$days = load_days();
|
$days = load_days();
|
||||||
$rooms = load_rooms();
|
$rooms = load_rooms();
|
||||||
$types = load_types();
|
$types = load_types();
|
||||||
|
|
Loading…
Reference in New Issue