mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
Do not incr_counts for links if item.is_author.
This commit is contained in:
@@ -640,6 +640,9 @@ class Link(Thing, Printable):
|
||||
taglinetext = _("submitted %(when)s ago by %(author)s")
|
||||
item.taglinetext = taglinetext
|
||||
|
||||
if item.is_author:
|
||||
item.should_incr_counts = False
|
||||
|
||||
if user_is_admin:
|
||||
# Link notes
|
||||
url = getattr(item, 'url')
|
||||
|
||||
Reference in New Issue
Block a user