adds the maximum length of the comments to settings
This commit is contained in:
@@ -95,7 +95,7 @@ class Comment < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def self.body_max_length
|
||||
1000
|
||||
Setting['comments_body_max_length'].to_i
|
||||
end
|
||||
|
||||
def calculate_confidence_score
|
||||
|
||||
Reference in New Issue
Block a user