mirror of
https://github.com/discourse/discourse.git
synced 2025-03-24 03:55:32 +08:00
Fix the 'PostMover' spec.
This commit is contained in:
parent
e6dfcda0bc
commit
b0e3062fdf
@ -232,6 +232,11 @@ class Notification < ActiveRecord::Base
|
||||
Post.where(topic: topic_id, post_number: post_number).pluck_first(:id)
|
||||
end
|
||||
|
||||
def reload(options = nil)
|
||||
super
|
||||
@data_hash = nil
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
def refresh_notification_count
|
||||
|
Loading…
x
Reference in New Issue
Block a user