summaryrefslogtreecommitdiff
path: root/lib/gitlab/bitbucket_server_import/importer.rb
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-07-17 13:46:09 -0700
committerStan Hu <stanhu@gmail.com>2018-07-17 13:46:09 -0700
commit7b288105ed3dbf6265041f0af38ff36ccb338e33 (patch)
tree9504ec239942bee87253a7a56ca73cfaad7ee286 /lib/gitlab/bitbucket_server_import/importer.rb
parentadc06476a387988f45eb670432779a7f9756d329 (diff)
downloadgitlab-ce-7b288105ed3dbf6265041f0af38ff36ccb338e33.tar.gz
Remove unneeded method
Diffstat (limited to 'lib/gitlab/bitbucket_server_import/importer.rb')
-rw-r--r--lib/gitlab/bitbucket_server_import/importer.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/gitlab/bitbucket_server_import/importer.rb b/lib/gitlab/bitbucket_server_import/importer.rb
index c07525cef96..a0b6dedb23c 100644
--- a/lib/gitlab/bitbucket_server_import/importer.rb
+++ b/lib/gitlab/bitbucket_server_import/importer.rb
@@ -273,10 +273,6 @@ module Gitlab
end
end
- def generate_line_code(pr_comment)
- Gitlab::Git.diff_line_code(pr_comment.file_path, pr_comment.new_pos, pr_comment.old_pos)
- end
-
def pull_request_comment_attributes(comment)
{
project: project,