mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-23 22:08:11 -05:00
Remove invalid/completed TODOs
This commit is contained in:
@@ -361,9 +361,6 @@ def set_host_lang():
|
||||
c.host_lang = host_lang
|
||||
|
||||
def set_iface_lang():
|
||||
# TODO: internationalize. This seems the best place to put this
|
||||
# (used for formatting of large numbers to break them up with ",").
|
||||
# unfortunately, not directly compatible with gettext
|
||||
locale.setlocale(locale.LC_ALL, g.locale)
|
||||
lang = [g.lang]
|
||||
# GET param wins
|
||||
|
||||
@@ -1018,8 +1018,6 @@ class DomainSR(FakeSubreddit):
|
||||
|
||||
def get_links(self, sort, time):
|
||||
from r2.lib.db import queries
|
||||
# TODO: once the lists are precomputed properly, this can be
|
||||
# switched over to use the non-_old variety.
|
||||
return queries.get_domain_links(self.domain, sort, time)
|
||||
|
||||
Frontpage = DefaultSR()
|
||||
|
||||
Reference in New Issue
Block a user