Commit 337cb452 authored by tiagonbotelho's avatar tiagonbotelho Committed by Yorick Peterse
Browse files

removes automatic setting of main_language to project for it to set a main...

removes automatic setting of main_language to project for it to set a main language you have now to make a commit to the project
parent 76aa876e9e1e
......@@ -953,14 +953,4 @@ def runners_token
def wiki
@wiki ||= ProjectWiki.new(self, self.owner)
end
def main_language
language = read_attribute(:main_language)
return language if language
update_attributes(main_language: repository.main_language)
read_attribute(:main_language)
end
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