mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
GET_moderationlog: add "private" extension_handling.
This commit is contained in:
committed by
Ricky Ramirez
parent
e99e5b0fb9
commit
1efb1d6aae
@@ -509,10 +509,11 @@ class FrontController(RedditController, OAuth2ResourceController):
|
||||
title=_('filter by action'), type='lightdrop', css_class='modaction-drop'),
|
||||
NavMenu(mod_buttons, base_path=base_path,
|
||||
title=_('filter by moderator'), type='lightdrop')]
|
||||
extension_handling = "private" if c.user.pref_private_feeds else False
|
||||
return EditReddit(content=panes,
|
||||
nav_menus=menus,
|
||||
location="log",
|
||||
extension_handling=False).render()
|
||||
extension_handling=extension_handling).render()
|
||||
|
||||
def _make_spamlisting(self, location, only, num, after, reverse, count):
|
||||
include_links, include_comments = True, True
|
||||
|
||||
Reference in New Issue
Block a user