[Rt-commit] r7233 - rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT
ruz at bestpractical.com
ruz at bestpractical.com
Tue Mar 13 10:51:30 EDT 2007
Author: ruz
Date: Tue Mar 13 10:51:30 2007
New Revision: 7233
Modified:
rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Handle.pm
Log:
* don't init anything in Handle, caller should do that for us
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Handle.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Handle.pm (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Handle.pm Tue Mar 13 10:51:30 2007
@@ -432,13 +432,6 @@
sub InsertInitialData {
my $self = shift;
my $db_type = RT->Config->Get('DatabaseType');
- RT::InitLogging();
-
- # connect to the db, for actual RT work
- $RT::Handle->Disconnect;
- $RT::Handle = RT::Handle->new;
- $RT::Handle->BuildDSN;
- $RT::Handle->Connect;
#Put together a current user object so we can create a User object
require RT::CurrentUser;
More information about the Rt-commit
mailing list