Remove obsoleted g.default_sr special case.

This commit is contained in:
Max Goodman
2013-07-12 16:01:22 -07:00
parent 242e13df58
commit 7dd403178b

View File

@@ -820,11 +820,6 @@ class Subreddit(Thing, Printable, BaseSite):
names = [s.name for s in srs if s.can_submit(user)]
names.sort(key=str.lower)
#add the current site to the top (default_sr)
if g.default_sr in names:
names.remove(g.default_sr)
names.insert(0, g.default_sr)
if c.lang in names:
names.remove(c.lang)
names.insert(0, c.lang)