Skip to content

Commit

Permalink
Revert "Only send email notifications for 'public' and 'mtan' access …
Browse files Browse the repository at this point in the history
…levels"

This reverts commit de94305.
  • Loading branch information
Tschuppi81 committed Jan 30, 2025
1 parent de94305 commit c3c4f2b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/onegov/org/cronjobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,7 @@ def publication_models(
request.app.es_orm_events.index(request.app.schema, obj)

if (isinstance(obj, ExtendedDirectoryEntry) and obj.published and
obj.directory.enable_update_notifications and obj.access in
('public', 'mtan')):
obj.directory.enable_update_notifications):
send_email_notification_for_directory_entry(
obj.directory, obj, request)

Expand Down

0 comments on commit c3c4f2b

Please sign in to comment.