mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-29 08:48:18 -05:00
Remove obsoleted g.default_sr special case.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user