[freeside-commits] freeside/FS/FS/Cron rt_tasks.pm,1.4,1.5
Mark Wells
mark at wavetail.420.am
Mon Dec 26 18:07:24 PST 2011
Update of /home/cvs/cvsroot/freeside/FS/FS/Cron
In directory wavetail.420.am:/tmp/cvs-serv23150/FS/FS/Cron
Modified Files:
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.4
retrieving revision 1.5
diff -u -w -d -r1.4 -r1.5
--- rt_tasks.pm 7 Oct 2011 23:20:03 -0000 1.4
+++ rt_tasks.pm 27 Dec 2011 02:07:22 -0000 1.5
@@ -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