Commit 93fb4ce2 authored by tiagonbotelho's avatar tiagonbotelho Committed by Yorick Peterse
Browse files

removes redundant self

parent bbe14742da16
......@@ -89,7 +89,7 @@ def update_forks_visibility_level
# 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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment