[freeside-commits] freeside/FS/FS cust_pkg.pm,1.153,1.154
Ivan,,,
ivan at wavetail.420.am
Mon Mar 8 18:12:30 PST 2010
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv687
Modified Files:
cust_pkg.pm
Log Message:
init ticket system new-style
Index: cust_pkg.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_pkg.pm,v
retrieving revision 1.153
retrieving revision 1.154
diff -u -w -d -r1.153 -r1.154
--- cust_pkg.pm 6 Feb 2010 02:54:09 -0000 1.153
+++ cust_pkg.pm 9 Mar 2010 02:12:28 -0000 1.154
@@ -296,14 +296,18 @@
my $conf = new FS::Conf;
if ( $conf->config('ticket_system') && $options{ticket_subject} ) {
- eval '
- use lib ( "/opt/rt3/local/lib", "/opt/rt3/lib" );
- use RT;
- ';
- die $@ if $@;
- RT::LoadConfig();
- RT::Init();
+ #eval '
+ # use lib ( "/opt/rt3/local/lib", "/opt/rt3/lib" );
+ # use RT;
+ #';
+ #die $@ if $@;
+ #
+ #RT::LoadConfig();
+ #RT::Init();
+ use FS::TicketSystem;
+ FS::TicketSystem->init();
+
my $q = new RT::Queue($RT::SystemUser);
$q->Load($options{ticket_queue}) if $options{ticket_queue};
my $t = new RT::Ticket($RT::SystemUser);
More information about the freeside-commits
mailing list