diff --git a/r2/r2/templates/subredditstylesheet.html b/r2/r2/templates/subredditstylesheet.html
index 661f5e852..0b1555305 100644
--- a/r2/r2/templates/subredditstylesheet.html
+++ b/r2/r2/templates/subredditstylesheet.html
@@ -257,19 +257,6 @@
<%def name="make_li(name='', img=None, prototype=False)">
-
- <%
- if img is not None:
- if isinstance(img, int):
- bucket = g.s3_old_thumb_bucket
- baseurl = "http://%s" % (bucket)
- if g.s3_media_direct:
- baseurl = "http://%s/%s" % (s3_direct_url, bucket)
-
- img = "%s/%s_%d.png" % \
- (baseurl, c.site._fullname, img)
- else:
- img = static('kill.png')
- %>