mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Remove deprecated User#saw_notification_id method (#27175)
This commit is contained in:
@@ -114,7 +114,6 @@ after_initialize do
|
||||
notification = Notification.where(topic_id: topic.id, post_number: first_post.post_number).first
|
||||
if notification.present?
|
||||
Notification.read(self, notification.id)
|
||||
self.saw_notification_id(notification.id)
|
||||
self.reload
|
||||
self.publish_notifications_state
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user