mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 23:36:11 +08:00
Option to supress replies button below a post, when its reply is directly following.
This commit is contained in:
@ -29,6 +29,7 @@ class SiteSetting < ActiveRecord::Base
|
||||
client_setting(:min_topic_title_length, 5)
|
||||
client_setting(:max_topic_title_length, 255)
|
||||
client_setting(:flush_timings_secs, 5)
|
||||
client_setting(:supress_reply_directly_below, true)
|
||||
|
||||
# settings only available server side
|
||||
setting(:auto_track_topics_after, 60000)
|
||||
@ -136,6 +137,8 @@ class SiteSetting < ActiveRecord::Base
|
||||
# Ways to catch griefers and other nasties
|
||||
setting(:email_blacklist_regexp, '')
|
||||
|
||||
|
||||
|
||||
def self.call_mothership?
|
||||
self.enforce_global_nicknames? and self.discourse_org_access_key.present?
|
||||
end
|
||||
|
Reference in New Issue
Block a user