diff options
author | Infinoid <mark-github@glines.org> | 2023-04-21 10:27:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-21 10:27:32 -0400 |
commit | 949ba4894b1237490d872277fc48d2a1fdc26562 (patch) | |
tree | 26a585f3279a8fbdee530c79c45a32742eb02c78 /models | |
parent | 3274ab2943ca2cf7e8ac660c9ec505a46385db64 (diff) | |
download | gitea-949ba4894b1237490d872277fc48d2a1fdc26562.tar.gz gitea-949ba4894b1237490d872277fc48d2a1fdc26562.zip |
Fix comment for EmailNotificationsAndYourOwn constant (#24236)
This fixes some copypasta in the constant definitions for the
`User.EmailNotificationsPreference` field. No code changes.
Diffstat (limited to 'models')
-rw-r--r-- | models/user/user.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/user/user.go b/models/user/user.go index 5f152780bf..053d6680cd 100644 --- a/models/user/user.go +++ b/models/user/user.go @@ -62,7 +62,7 @@ const ( EmailNotificationsOnMention = "onmention" // EmailNotificationsDisabled indicates that the user would not like to be notified via email. EmailNotificationsDisabled = "disabled" - // EmailNotificationsEnabled indicates that the user would like to receive all email notifications and your own + // EmailNotificationsAndYourOwn indicates that the user would like to receive all email notifications and your own EmailNotificationsAndYourOwn = "andyourown" ) |