[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.5-170-g0e4f1f6

jesse jesse at bestpractical.com
Tue Sep 29 16:14:32 EDT 2009


The branch, 3.8-trunk has been updated
       via  0e4f1f6bba30686d04dbc660221c6791a795002c (commit)
      from  e0c0aa52505c2bbe789e535737ffb32b4525956f (commit)

Summary of changes:
 share/html/autohandler |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit 0e4f1f6bba30686d04dbc660221c6791a795002c
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Wed Sep 30 05:14:22 2009 +0900

    remove a comment that was no longer accurate

diff --git a/share/html/autohandler b/share/html/autohandler
index 81046ac..09fc096 100755
--- a/share/html/autohandler
+++ b/share/html/autohandler
@@ -50,9 +50,10 @@ use RT::Util;
 
 $m->callback( ARGSRef => \%ARGS, CallbackName => 'Init', CallbackPage => '/autohandler' );
 
+$r->content_type("text/html; charset=utf-8");
+
 $m->{'rt_base_time'} = [ Time::HiRes::gettimeofday() ];
 
-$r->content_type("text/html; charset=utf-8");
 
 # Roll back any dangling transactions from a previous failed connection
 $RT::Handle->ForceRollback() if $RT::Handle->TransactionDepth;
@@ -69,14 +70,13 @@ $m->autoflush( $m->request_comp->attr('AutoFlush') ) if ( $m->request_comp->attr
 
 RT::Interface::Web::PreprocessTimeUpdates(\%ARGS);
 
+
 RT::Interface::Web::MaybeShowInstallModePage();
 
 $m->comp( '/Elements/SetupSessionCookie', %ARGS );
 
 $session{'CurrentUser'} = RT::CurrentUser->new() unless ( $session{'CurrentUser'} && $session{'CurrentUser'}->Id );
 
-# Set the proper encoding for the current language handle
-
 RT::Interface::Web::MaybeShowNoAuthPage(\%ARGS);
 
 RT::Interface::Web::AttemptExternalAuth(\%ARGS);

-----------------------------------------------------------------------


More information about the Rt-commit mailing list