[freeside-commits] freeside/FS/FS/Cron rt_tasks.pm,1.3,1.4
Mark Wells
mark at wavetail.420.am
Fri Oct 7 16:20:06 PDT 2011
Update of /home/cvs/cvsroot/freeside/FS/FS/Cron
In directory wavetail.420.am:/tmp/cvs-serv21105/FS/FS/Cron
Modified Files:
rt_tasks.pm
Log Message:
RT ACL for freeside-daily, #13853
Index: rt_tasks.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Cron/rt_tasks.pm,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -d -r1.3 -r1.4
--- rt_tasks.pm 23 Aug 2011 21:45:49 -0000 1.3
+++ rt_tasks.pm 7 Oct 2011 23:20:03 -0000 1.4
@@ -31,7 +31,6 @@
my $system = $FS::TicketSystem::system;
return if $system ne 'RT_Internal';
- FS::TicketSystem->init;
$DEBUG = 1 if $opt{'v'};
RT::Config->Set( LogToScreen => 'debug' ) if $DEBUG;
@@ -42,6 +41,7 @@
return;
}
+ FS::TicketSystem->init;
my $session = FS::TicketSystem->session();
my $CurrentUser = $session->{'CurrentUser'}
or die "Failed to create RT session";
@@ -69,7 +69,6 @@
$queues->UnLimit;
while (my $queue = $queues->Next) {
warn "Queue '".$queue->Name."'\n" if $DEBUG;
- my $CurrentUser = $queue->CurrentUser;
my %opt = @_;
my $tickets = RT::Tickets->new($CurrentUser);
my $search = RT::Search::ActiveTicketsInQueue->new(
More information about the freeside-commits
mailing list