Skip to content

Commit ed02540

Browse files
committed
fix(local_units): Disable notifications for superusers
1 parent f1a71f8 commit ed02540

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

local_units/tasks.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ def send_local_unit_email(local_unit_id: int, new: bool = True):
2929
get_local_unit_country_validators(instance)
3030
or get_local_unit_region_validators(instance)
3131
or get_local_unit_global_validators(instance)
32-
or User.objects.filter(is_superuser=True)
3332
)
3433

3534
email_context = get_email_context(instance)

0 commit comments

Comments
 (0)