diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-01 00:10:16 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-01 00:10:16 +0000 |
commit | 186e045e14c941ac0b8490a0ff92694b186990ad (patch) | |
tree | b23da6dbe8e716ab6b798b28d3ceb5ba30e36e0e /app/models/event.rb | |
parent | 15229b03e058208b2feac568832eb43f109ac3cd (diff) | |
download | gitlab-ce-186e045e14c941ac0b8490a0ff92694b186990ad.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/event.rb')
-rw-r--r-- | app/models/event.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/models/event.rb b/app/models/event.rb index 318599052e4..671def16151 100644 --- a/app/models/event.rb +++ b/app/models/event.rb @@ -329,14 +329,6 @@ class Event < ApplicationRecord end end - def note_target_type - if target.noteable_type.present? - target.noteable_type.titleize - else - "Wall" - end.downcase - end - def body? if push_action? push_with_commits? |