mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 23:54:16 +08:00
correct previous commit
This commit is contained in:
parent
9f4efed03a
commit
bfcb0a52bb
|
@ -43,6 +43,8 @@ class Notification < ActiveRecord::Base
|
|||
.update_all("read = 't'")
|
||||
|
||||
user.publish_notifications_state if count > 0
|
||||
|
||||
count
|
||||
end
|
||||
|
||||
def self.interesting_after(min_date)
|
||||
|
|
Loading…
Reference in New Issue
Block a user