Skip to content

Commit

Permalink
You got your debug text in my production environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonhasacat committed Mar 28, 2024
1 parent 922a18e commit a2b9ffb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/Helpers/RoleHelperV2.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit a2b9ffb

Please sign in to comment.