Show hidden submissions in moderator listings.

This commit is contained in:
Bryce Boe
2012-12-26 14:43:47 -08:00
committed by Keith Mitchell
parent be5fb02d14
commit deb857f686

View File

@@ -514,7 +514,7 @@ class FrontController(RedditController, OAuth2ResourceController):
def keep_fn(x):
# no need to bother mods with banned users, or deleted content
if getattr(x,'hidden',False) or x._deleted:
if x._deleted:
return False
if getattr(x,'author',None) == c.user and c.user._spam:
return False