mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-26 06:41:22 -04:00
someone's been playing too much
This commit is contained in:
parent
664915fcd2
commit
9ad5720090
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue