Skip to content

Commit

Permalink
update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
cirun authored and cirun committed Mar 29, 2022
1 parent b612920 commit 8594ef5
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions ckan/cli/notify.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,12 @@ def replay():

@notify.command(name="send_emails", short_help="Send out Email notifications.")
def send_emails():
"""
As currently implemented, it will only send notifications from dashboard
activity list.
""" Sends an email to users notifying about new activities.
It will send emails to users who have
`activity_streams_email_notifications` set in their profile.
It will send emails with updates depending on how
`ckan.email_notifications_since` is configured.
default: 2 days.
As currently implemented, it will only send notifications from dashboard
activity list if users have `activity_streams_email_notifications` set
in their profile. It will send emails with updates depending
on the `ckan.email_notifications_since` config. (default: 2 days.)
"""
import ckan.logic as logic
import ckan.lib.mailer as mailer
Expand Down

0 comments on commit 8594ef5

Please sign in to comment.