mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-14 09:27:57 -05:00
Remove new_info_bar feature flag
This commit is contained in:
@@ -295,7 +295,7 @@ class FrontController(RedditController):
|
||||
if c.user_is_loggedin and c.site.can_submit(c.user):
|
||||
resubmit_url = add_sr(resubmit_url)
|
||||
infotext = strings.already_submitted % resubmit_url
|
||||
elif article.archived and feature.is_enabled('new_info_bar'):
|
||||
elif article.archived:
|
||||
infotext = strings.archived_post_message
|
||||
infotext_class = 'archived-infobar'
|
||||
infotext_show_icon = True
|
||||
|
||||
@@ -2539,8 +2539,6 @@ class InfoBar(Templated):
|
||||
|
||||
class RedditInfoBar(InfoBar):
|
||||
def __init__(self, message='', extra_class='', show_icon=False):
|
||||
if not feature.is_enabled('new_info_bar'):
|
||||
self.render_class = InfoBar
|
||||
self.show_icon = show_icon
|
||||
super(RedditInfoBar, self).__init__(
|
||||
message=message,
|
||||
|
||||
Reference in New Issue
Block a user