Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/notification_service.rb')
-rw-r--r--app/services/notification_service.rb24
1 files changed, 12 insertions, 12 deletions
diff --git a/app/services/notification_service.rb b/app/services/notification_service.rb
index 750a71aea6b..eb42cac3f83 100644
--- a/app/services/notification_service.rb
+++ b/app/services/notification_service.rb
@@ -19,7 +19,7 @@ class NotificationService
# When create an issue we should send next emails:
#
- # * issue assignee if his notification level is not Disabled
+ # * issue assignee if their notification level is not Disabled
# * project team members with notification level higher then Participating
#
def new_issue(issue, current_user)
@@ -28,8 +28,8 @@ class NotificationService
# When we close an issue we should send next emails:
#
- # * issue author if his notification level is not Disabled
- # * issue assignee if his notification level is not Disabled
+ # * issue author if their notification level is not Disabled
+ # * issue assignee if their notification level is not Disabled
# * project team members with notification level higher then Participating
#
def close_issue(issue, current_user)
@@ -38,8 +38,8 @@ class NotificationService
# When we reassign an issue we should send next emails:
#
- # * issue old assignee if his notification level is not Disabled
- # * issue new assignee if his notification level is not Disabled
+ # * issue old assignee if their notification level is not Disabled
+ # * issue new assignee if their notification level is not Disabled
#
def reassigned_issue(issue, current_user)
reassign_resource_email(issue, issue.project, current_user, 'reassigned_issue_email')
@@ -48,7 +48,7 @@ class NotificationService
# When create a merge request we should send next emails:
#
- # * mr assignee if his notification level is not Disabled
+ # * mr assignee if their notification level is not Disabled
#
def new_merge_request(merge_request, current_user)
new_resource_email(merge_request, merge_request.target_project, 'new_merge_request_email')
@@ -56,8 +56,8 @@ class NotificationService
# When we reassign a merge_request we should send next emails:
#
- # * merge_request old assignee if his notification level is not Disabled
- # * merge_request assignee if his notification level is not Disabled
+ # * merge_request old assignee if their notification level is not Disabled
+ # * merge_request assignee if their notification level is not Disabled
#
def reassigned_merge_request(merge_request, current_user)
reassign_resource_email(merge_request, merge_request.target_project, current_user, 'reassigned_merge_request_email')
@@ -65,8 +65,8 @@ class NotificationService
# When we close a merge request we should send next emails:
#
- # * merge_request author if his notification level is not Disabled
- # * merge_request assignee if his notification level is not Disabled
+ # * merge_request author if their notification level is not Disabled
+ # * merge_request assignee if their notification level is not Disabled
# * project team members with notification level higher then Participating
#
def close_mr(merge_request, current_user)
@@ -75,8 +75,8 @@ class NotificationService
# When we merge a merge request we should send next emails:
#
- # * merge_request author if his notification level is not Disabled
- # * merge_request assignee if his notification level is not Disabled
+ # * merge_request author if their notification level is not Disabled
+ # * merge_request assignee if their notification level is not Disabled
# * project team members with notification level higher then Participating
#
def merge_mr(merge_request)