mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Fix small typo. (#15904)
This commit is contained in:
parent
76aadc67bb
commit
81791a821c
@ -33,7 +33,7 @@ class UserStatCountUpdater
|
|||||||
# to trigger an error.
|
# to trigger an error.
|
||||||
if action == :decrement! && stat.public_send(column) < 1
|
if action == :decrement! && stat.public_send(column) < 1
|
||||||
if SiteSetting.verbose_user_stat_count_logging
|
if SiteSetting.verbose_user_stat_count_logging
|
||||||
Rails.logger.warn("Attempted to insert negative count into UserStat##{column}} for post with id '#{post.id}'")
|
Rails.logger.warn("Attempted to insert negative count into UserStat##{column} for post with id '#{post.id}'")
|
||||||
end
|
end
|
||||||
|
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user