mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
rename 'max_private_messages_per_day' to 'max_personal_messages_per_day'
This commit is contained in:
parent
7cda3a37af
commit
6be536ca50
4 changed files with 5 additions and 3 deletions
|
@ -310,7 +310,7 @@ class Topic < ActiveRecord::Base
|
|||
|
||||
def limit_private_messages_per_day
|
||||
return unless private_message?
|
||||
apply_per_day_rate_limit_for("pms", :max_private_messages_per_day)
|
||||
apply_per_day_rate_limit_for("pms", :max_personal_messages_per_day)
|
||||
end
|
||||
|
||||
def self.fancy_title(title)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue