[Rt-commit] r12572 - rt/branches/3.8-TESTING/share/html/installation

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed May 21 00:06:04 EDT 2008


Author: sunnavy
Date: Wed May 21 00:06:00 2008
New Revision: 12572

Modified:
   rt/branches/3.8-TESTING/share/html/installation/DatabaseType.html
   rt/branches/3.8-TESTING/share/html/installation/Finish.html
   rt/branches/3.8-TESTING/share/html/installation/Initialize.html

Log:
cleaned up

Modified: rt/branches/3.8-TESTING/share/html/installation/DatabaseType.html
==============================================================================
--- rt/branches/3.8-TESTING/share/html/installation/DatabaseType.html	(original)
+++ rt/branches/3.8-TESTING/share/html/installation/DatabaseType.html	Wed May 21 00:06:00 2008
@@ -72,18 +72,7 @@
     $m->comp('/Widgets/BulkProcess', Types => \@Types, Arguments => \%ARGS, Meta
             => $RT::Installer->{Meta}, Store => $RT::Installer->{InstallConfig} );
 
-# XXX need save config here, or the LoadConfig in the next page won't 
-# go well, even it save config there before LoadConfig.
-# don't know the the reason right now.
-
-    my ( $status, $msg ) = RT::Installer->SaveConfig;
-
-    if ( $status ) {
-        RT::Interface::Web::Redirect(RT->Config->Get('WebURL') .  'installation/DatabaseDetails.html');
-    }
-    else {
-        push @results, $msg;
-    }
+    RT::Interface::Web::Redirect(RT->Config->Get('WebURL') .  'installation/DatabaseDetails.html');
 }
 
 

Modified: rt/branches/3.8-TESTING/share/html/installation/Finish.html
==============================================================================
--- rt/branches/3.8-TESTING/share/html/installation/Finish.html	(original)
+++ rt/branches/3.8-TESTING/share/html/installation/Finish.html	Wed May 21 00:06:00 2008
@@ -73,7 +73,6 @@
 <%init>
 if ( $Run ) {
     RT->InstallMode(0);
-    RT->LoadConfig;
     RT->ConnectToDatabase();
     RT->InitSystemObjects();
     RT->InitClasses();

Modified: rt/branches/3.8-TESTING/share/html/installation/Initialize.html
==============================================================================
--- rt/branches/3.8-TESTING/share/html/installation/Initialize.html	(original)
+++ rt/branches/3.8-TESTING/share/html/installation/Initialize.html	Wed May 21 00:06:00 2008
@@ -92,8 +92,6 @@
 
     if ( $status ) {
 
-        RT::Handle->FinalizeDatabaseType();
-
         my $dbh = DBI->connect(
             RT::Handle->DSN, $RT::Installer->{InstallConfig}{DatabaseAdmin},
             $RT::Installer->{InstallConfig}{DatabaseAdminPassword}, 


More information about the Rt-commit mailing list