Revert "Revert "Temporarily use "[deleted]" in JSON for deleted usernames.""

This commit is contained in:
Neil Williams
2013-01-28 11:58:38 -08:00
parent ef398ccbac
commit ef212288ee

View File

@@ -157,7 +157,7 @@ class ThingJsonTemplate(JsonTemplate):
"""
if attr == "author":
if thing.author._deleted:
return None
return "[deleted]"
return thing.author.name
if attr == "author_flair_text":
if thing.author._deleted: