diff options
author | Marin Jankovski <marin@gitlab.com> | 2014-07-03 12:02:31 +0200 |
---|---|---|
committer | Marin Jankovski <marin@gitlab.com> | 2014-07-03 12:02:31 +0200 |
commit | b048c7d24a61c7e9bd52671b483b0998e032bc34 (patch) | |
tree | 7967b794d4d5484822f0581c753dd4889bdfd74d | |
parent | 8d106bed3c2146217697e9a13e637dd8c5d60c48 (diff) | |
download | gitlab-ce-b048c7d24a61c7e9bd52671b483b0998e032bc34.tar.gz |
Do not notify project owner on project creation.
-rw-r--r-- | app/models/users_project.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/users_project.rb b/app/models/users_project.rb index 69b2d71b436..60bdf7a3cfb 100644 --- a/app/models/users_project.rb +++ b/app/models/users_project.rb @@ -124,7 +124,7 @@ class UsersProject < ActiveRecord::Base author_id: self.user.id ) - notification_service.new_team_member(self) + notification_service.new_team_member(self) unless owner? system_hook_service.execute_hooks_for(self, :create) end |