Fixes related to exclude_banned_modqueue setting

Make sure that setting is always sent, and add description for mod log
This commit is contained in:
Chad Birch
2013-04-17 10:41:22 -06:00
parent 473f8377f1
commit 9a90e42679
2 changed files with 3 additions and 1 deletions

View File

@@ -1718,7 +1718,8 @@ class ApiController(RedditController, OAuth2ResourceController):
redir = False
kw = dict((k, v) for k, v in kw.iteritems()
if k in ('name', 'title', 'domain', 'description',
'show_media', 'show_cname_sidebar', 'type',
'show_media', 'exclude_banned_modqueue',
'show_cname_sidebar', 'type',
'link_type', 'submit_link_label',
'submit_text_label', 'lang', 'css_on_cname',
'header_title', 'over_18', 'wikimode', 'wiki_edit_karma',

View File

@@ -133,6 +133,7 @@ class ModAction(tdb_cassandra.UuidThing, Printable):
'over_18': _('toggle viewers must be over 18'),
'allow_top': _('toggle allow in default set'),
'show_media': _('toggle show thumbnail images of content'),
'exclude_banned_modqueue': _('toggle exclude banned users\' posts from modqueue'),
'domain': _('domain'),
'show_cname_sidebar': _('toggle show sidebar from cname'),
'css_on_cname': _('toggle custom CSS from cname'),