summaryrefslogtreecommitdiff
path: root/app/models/project.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/project.rb')
-rw-r--r--app/models/project.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/app/models/project.rb b/app/models/project.rb
index 137fa42a9b9..3235a1cee50 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -86,14 +86,6 @@ class Project < ActiveRecord::Base
end
end
- # checks if the language main language of the project changed
- before_save :check_main_language
- def check_main_language
- if commit_count_changed?
- main_language = repository.main_language
- end
- end
-
ActsAsTaggableOn.strict_case_match = true
acts_as_taggable_on :tags