Commit 7bff1dc9 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'no_notification_for_project_creator' into 'master'

No notification for project creator

Fixes #1378

See merge request !937
parents ebde3e35 b048c7d2
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment