提交 93fb4ce2 编写于 作者: T tiagonbotelho 提交者: Yorick Peterse

removes redundant self

上级 4b3f3167
......@@ -89,7 +89,7 @@ class Project < ActiveRecord::Base
# checks if the language main language of the project changed
before_save :check_main_language
def check_main_language
if self.commit_count_changed?
if commit_count_changed?
self.main_language = repository.main_language
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册