mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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)
|
Post.where(topic: topic_id, post_number: post_number).pluck_first(:id)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def reload(options = nil)
|
||||||
|
super
|
||||||
|
@data_hash = nil
|
||||||
|
end
|
||||||
|
|
||||||
protected
|
protected
|
||||||
|
|
||||||
def refresh_notification_count
|
def refresh_notification_count
|
||||||
|
Loading…
Reference in New Issue
Block a user