mirror of
https://github.com/discourse/discourse.git
synced 2025-03-27 07:55:39 +08:00
someone's been playing too much
This commit is contained in:
parent
664915fcd2
commit
9ad5720090
@ -73,7 +73,7 @@ class Post < ActiveRecord::Base
|
||||
end
|
||||
end
|
||||
|
||||
# The key we use in reddit to ensure unique posts
|
||||
# The key we use in redis to ensure unique posts
|
||||
def unique_post_key
|
||||
"post-#{user_id}:#{raw_hash}"
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user