summaryrefslogtreecommitdiff
path: root/lib/github/representation
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-04-25 17:05:40 -0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-04-25 17:05:40 -0300
commit44954c507ed99db892e9e4e40779bc6fc6f0a56f (patch)
tree21edc94dc1e887076cb5737f414887f968d1bb41 /lib/github/representation
parent39ab842bc2ff1395ed1bf6768ff2a409a33bf3d3 (diff)
downloadgitlab-ce-44954c507ed99db892e9e4e40779bc6fc6f0a56f.tar.gz
Fix import of notes on Pull Request diff
Diffstat (limited to 'lib/github/representation')
-rw-r--r--lib/github/representation/comment.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/github/representation/comment.rb b/lib/github/representation/comment.rb
index 22cb98b0eff..1b5be91461b 100644
--- a/lib/github/representation/comment.rb
+++ b/lib/github/representation/comment.rb
@@ -20,10 +20,6 @@ module Github
generate_line_code(parsed_lines.to_a.last)
end
- def type
- 'LegacyDiffNote' if on_diff?
- end
-
private
def generate_line_code(line)