[Rt-commit] r18201 - rt/3.8/trunk/sbin

ruz at bestpractical.com ruz at bestpractical.com
Wed Feb 4 14:08:15 EST 2009


Author: ruz
Date: Wed Feb  4 14:08:15 2009
New Revision: 18201

Modified:
   rt/3.8/trunk/sbin/rt-validator.in

Log:
* use RT->Config instead of direct option variable access

Modified: rt/3.8/trunk/sbin/rt-validator.in
==============================================================================
--- rt/3.8/trunk/sbin/rt-validator.in	(original)
+++ rt/3.8/trunk/sbin/rt-validator.in	Wed Feb  4 14:08:15 2009
@@ -130,7 +130,7 @@
 RT::Init();
 
 my $dbh = $RT::Handle->dbh;
-my $db_type = $RT::DatabaseType;
+my $db_type = RT->Config->Get('DatabaseType');
 
 my %TYPE = (
     'Transactions.Field'    => 'text',


More information about the Rt-commit mailing list