mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 16:28:01 -05:00
Show hidden submissions in moderator listings.
This commit is contained in:
committed by
Keith Mitchell
parent
be5fb02d14
commit
deb857f686
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user