[freeside-commits] freeside/FS/FS/Cron rt_tasks.pm, 1.2.2.2, 1.2.2.3
Mark Wells
mark at wavetail.420.am
Mon Dec 26 18:07:38 PST 2011
Update of /home/cvs/cvsroot/freeside/FS/FS/Cron
In directory wavetail.420.am:/tmp/cvs-serv23248/FS/FS/Cron
Modified Files:
Tag: FREESIDE_2_3_BRANCH
rt_tasks.pm
Log Message:
fix bug in debug mode, #13853
Index: rt_tasks.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Cron/rt_tasks.pm,v
retrieving revision 1.2.2.2
retrieving revision 1.2.2.3
diff -u -w -d -r1.2.2.2 -r1.2.2.3
--- rt_tasks.pm 7 Oct 2011 23:20:13 -0000 1.2.2.2
+++ rt_tasks.pm 27 Dec 2011 02:07:36 -0000 1.2.2.3
@@ -31,9 +31,6 @@
my $system = $FS::TicketSystem::system;
return if $system ne 'RT_Internal';
- $DEBUG = 1 if $opt{'v'};
- RT::Config->Set( LogToScreen => 'debug' ) if $DEBUG;
-
# if -d or -y is in use, bail out. There's no reliable way to tell RT
# to use an alternate system time.
if ( $opt{'d'} or $opt{'y'} ) {
@@ -46,6 +43,9 @@
my $CurrentUser = $session->{'CurrentUser'}
or die "Failed to create RT session";
+ $DEBUG = 1 if $opt{'v'};
+ RT::Config->Set( LogToScreen => 'debug' ) if $DEBUG;
+
# load some modules that aren't handled in FS::TicketSystem
foreach (qw(
Search::ActiveTicketsInQueue
More information about the freeside-commits
mailing list