rt 4.0.23
[freeside.git] / rt / lib / RT / Report / Tickets / Entry.pm
index 15405d7..ee6b94b 100644 (file)
@@ -2,7 +2,7 @@
 #
 # COPYRIGHT:
 #
-# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC
+# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC
 #                                          <sales@bestpractical.com>
 #
 # (Except where explicitly superseded by other copyright notices)
 # END BPS TAGGED BLOCK }}}
 
 package RT::Report::Tickets::Entry;
+
+use warnings;
+use strict;
+
 use base qw/RT::Record/;
 
 # XXX TODO: how the heck do we acl a report?
@@ -79,14 +83,10 @@ sub LabelValue {
     return $value;
 }
 
-eval "require RT::Report::Tickets::Entry_Vendor";
-if ($@ && $@ !~ qr{^Can't locate RT/Report/Tickets/Entry_Vendor.pm}) {
-    die $@;
-};
+sub ObjectType {
+    return 'RT::Ticket';
+}
 
-eval "require RT::Report::Tickets::Entry_Local";
-if ($@ && $@ !~ qr{^Can't locate RT/Report/Tickets/Entry_Local.pm}) {
-    die $@;
-};
+RT::Base->_ImportOverlays();
 
 1;