61
62
die "ERROR: Need -t <DATABASE_TYPE>";
68
68
$CommonObject{ConfigObject} = Kernel::Config->new();
69
69
$CommonObject{ConfigObject}->Set(Key => 'Database::Type', Value => $Opts{t});
70
70
$CommonObject{ConfigObject}->Set(Key => 'Database::ShellOutput', Value => 1);
72
71
$CommonObject{LogObject} = Kernel::System::Log->new(
73
72
LogPrefix => 'OTRS-xml2sql',
76
77
$CommonObject{DBObject} = Kernel::System::DB->new(%CommonObject);
77
78
$CommonObject{XMLObject} = Kernel::System::XML->new(%CommonObject);