Do not incr_counts for links if item.is_author.

This commit is contained in:
Jason Harvey
2014-02-26 17:21:11 -08:00
parent 331fab6b7f
commit 5a39d8a5a1

View File

@@ -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')