feat: streamlined role-revocation logic
This commit is contained in:
1 parent
b39a78da82
commit
fd5d478a5c
14 files changed
+426
-22
No files matched your search
@@ -59,7 +59,7 @@ class FeedbackReminderService
|
||||
|
||||
$hotelManagers = $this
|
||||
->userRepository
|
||||
->getUsersByRoleAndHotelCode('ROLE_HOTEL_MANAGER', $hotelBaseCodes)
|
||||
->getUsersByRoleAndHotelCode('ROLE_HOUSE_MANAGER', $hotelBaseCodes)
|
||||
;
|
||||
|
||||
if (0 === count($hotelManagers)) {
|
||||
|
||||
Reference in new issue
Block a user