Remove unused last-modified check from GET_stylesheet.

We no longer write to the old last modified system for stylesheets
anyway, so there's no point in checking.  S3 handles last modified for
the staticized stylesheets anyway.
This commit is contained in:
Neil Williams
2012-11-06 13:18:53 -08:00
parent 65368b9abb
commit 2d2a8d887b

View File

@@ -401,9 +401,6 @@ class FrontController(RedditController, OAuth2ResourceController):
if stylesheet_contents:
c.allow_loggedin_cache = True
self.check_modified(c.site,'stylesheet_contents',
private=False, max_age=7*24*60*60,
must_revalidate=False)
c.response_content_type = 'text/css'
c.response.content = stylesheet_contents
if c.site.type == 'private':