X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Flib%2FRT%2FReport%2FTickets%2FEntry.pm;h=49c1a922587fe95779699ecba4902e64edf23b73;hb=b4b0c7e72d7eaee2fbfc7022022c9698323203dd;hp=e06fa8c6f145ce22481f63627bfe21a9810eb2ab;hpb=2dfda73eeb3eae2d4f894099754794ef07d060dd;p=freeside.git diff --git a/rt/lib/RT/Report/Tickets/Entry.pm b/rt/lib/RT/Report/Tickets/Entry.pm index e06fa8c6f..49c1a9225 100644 --- a/rt/lib/RT/Report/Tickets/Entry.pm +++ b/rt/lib/RT/Report/Tickets/Entry.pm @@ -1,8 +1,8 @@ # BEGIN BPS TAGGED BLOCK {{{ # # COPYRIGHT: -# -# This software is Copyright (c) 1996-2009 Best Practical Solutions, LLC +# +# This software is Copyright (c) 1996-2009 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) @@ -45,11 +45,21 @@ # those contributions and any derivatives thereof. # # END BPS TAGGED BLOCK }}} + package RT::Report::Tickets::Entry; use base qw/RT::Record/; # XXX TODO: how the heck do we acl a report? sub CurrentUserHasRight {1} +eval "require RT::Report::Tickets::Entry_Vendor"; +if ($@ && $@ !~ qr{^Can't locate RT/Report/Tickets/Entry_Vendor.pm}) { + die $@; +}; + +eval "require RT::Report::Tickets::Entry_Local"; +if ($@ && $@ !~ qr{^Can't locate RT/Report/Tickets/Entry_Local.pm}) { + die $@; +}; 1;