From 126cb209b9faa9a38c17fbbfe14df6f6aa8242f6 Mon Sep 17 00:00:00 2001 From: "zach%zachlipton.com" Date: Thu, 3 Aug 2006 18:13:52 +0000 Subject: [PATCH] Fix "subroutine db_main() redefined" warnings. --- webtools/litmus/Litmus/DBI.pm | 7 ------- 1 file changed, 7 deletions(-) diff --git a/webtools/litmus/Litmus/DBI.pm b/webtools/litmus/Litmus/DBI.pm index 01c3993e64e..c5ef6376a73 100755 --- a/webtools/litmus/Litmus/DBI.pm +++ b/webtools/litmus/Litmus/DBI.pm @@ -42,15 +42,8 @@ use base 'Class::DBI::mysql'; our $dsn = "dbi:mysql:database=$Litmus::Config::db_name;host=$Litmus::Config::db_host;port=3306"; - - our %column_aliases; -Litmus::DBI->connection( $dsn, - $Litmus::Config::db_user, - $Litmus::Config::db_pass, - {AutoCommit=>1} - ); Litmus::DBI->autoupdate(1); # In some cases, we have column names that make sense from a database perspective