[Rt-commit] r5623 - in rt/branches/3.6-RELEASE: .

jesse at bestpractical.com jesse at bestpractical.com
Thu Jul 20 13:33:00 EDT 2006


Author: jesse
Date: Thu Jul 20 13:32:59 2006
New Revision: 5623

Modified:
   rt/branches/3.6-RELEASE/   (props changed)
   rt/branches/3.6-RELEASE/html/NoAuth/css/autohandler

Log:
 r14225 at pinglin:  jesse | 2006-07-20 10:32:41 -0700
 * Removed not-quite-right outdated cachinng header generation
 


Modified: rt/branches/3.6-RELEASE/html/NoAuth/css/autohandler
==============================================================================
--- rt/branches/3.6-RELEASE/html/NoAuth/css/autohandler	(original)
+++ rt/branches/3.6-RELEASE/html/NoAuth/css/autohandler	Thu Jul 20 13:32:59 2006
@@ -46,17 +46,6 @@
 <%init>
 RT::Interface::Web::StaticFileHeaders();
 $r->content_type('text/css');
-
-my @DoW = qw(Sun Mon Tue Wed Thu Fri Sat);
-my @MoY = qw(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec);
-my ($sec, $min, $hour, $mday, $mon, $year, $wday) = gmtime( time() + 31536000 );
-
-my $expires = sprintf("%s, %02d %s %04d %02d:%02d:%02d GMT",
-                        $DoW[$wday],
-                        $mday, $MoY[$mon], $year+1900,
-                        $hour, $min, $sec);
-
-$r->header_out( 'Expires' => $expires );
 $m->call_next();
 return();
 </%init>


More information about the Rt-commit mailing list