projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf0217c
)
quiet warning when running without ticket_system
author
Ivan Kohler
<ivan@freeside.biz>
Wed, 8 Mar 2017 18:13:58 +0000
(10:13 -0800)
committer
Ivan Kohler
<ivan@freeside.biz>
Wed, 8 Mar 2017 18:13:58 +0000
(10:13 -0800)
FS/FS/Cron/rt_tasks.pm
patch
|
blob
|
history
diff --git
a/FS/FS/Cron/rt_tasks.pm
b/FS/FS/Cron/rt_tasks.pm
index
fd2a718
..
01ea0b5
100644
(file)
--- a/
FS/FS/Cron/rt_tasks.pm
+++ b/
FS/FS/Cron/rt_tasks.pm
@@
-29,7
+29,7
@@
sub rt_daily {
# RT_External installations should have their own cron scripts for this
my $system = $FS::TicketSystem::system;
- return if $system ne 'RT_Internal';
+ return if
!defined($system) ||
$system ne 'RT_Internal';
# if -d or -y is in use, bail out. There's no reliable way to tell RT
# to use an alternate system time.