From a2b9ffb5412f33451590955a1748731469c058d9 Mon Sep 17 00:00:00 2001 From: Jon Date: Thu, 28 Mar 2024 15:46:03 -0700 Subject: [PATCH] You got your debug text in my production environment --- app/Helpers/RoleHelperV2.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/Helpers/RoleHelperV2.php b/app/Helpers/RoleHelperV2.php index feeaae6..3258588 100644 --- a/app/Helpers/RoleHelperV2.php +++ b/app/Helpers/RoleHelperV2.php @@ -51,7 +51,6 @@ public static function canAssignRole(int $cid, string $role, string $facility = public static function hasRole(User $user, string $role, string $facility) { foreach ($user->roles()->get() as $userRole) { - var_dump($userRole); if ($userRole->role == $role && $userRole->facility == $facility) { return true; }