[Rt-commit] r7405 - rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT

clkao at bestpractical.com clkao at bestpractical.com
Fri Mar 30 10:00:26 EDT 2007


Author: clkao
Date: Fri Mar 30 10:00:24 2007
New Revision: 7405

Modified:
   rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Handle.pm

Log:
dbname is already absolute path when using SQLite.

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	Fri Mar 30 10:00:24 2007
@@ -277,7 +277,7 @@
     print "Dropping $db_type database $db_name.\n";
 
     if ( $db_type eq 'SQLite' ) {
-        unlink $RT::VarPath.'/'.$db_name or warn $!;
+        unlink $db_name or warn $!;
         return;
     }
     $dbh->do("DROP DATABASE ". $db_name) or warn $DBI::errstr;


More information about the Rt-commit mailing list