Don't touch Issue/Merge Request when importing GitHub comments

parent 52daddc0
......@@ -152,6 +152,7 @@ module Gitlab
end
def create_comments(issuable, comments)
ActiveRecord::Base.no_touching do
comments.each do |raw|
begin
comment = CommentFormatter.new(project, raw)
......@@ -161,6 +162,7 @@ module Gitlab
end
end
end
end
def import_wiki
unless project.wiki_enabled?
......
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