rt 4.2.16
[freeside.git] / rt / lib / RT / Approval.pm
index 50bd1fe..06ab4f0 100644 (file)
@@ -2,7 +2,7 @@
 #
 # COPYRIGHT:
 #
-# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC
+# This software is Copyright (c) 1996-2019 Best Practical Solutions, LLC
 #                                          <sales@bestpractical.com>
 #
 # (Except where explicitly superseded by other copyright notices)
@@ -50,6 +50,7 @@ package RT::Approval;
 use strict;
 use warnings;
 
+
 use RT::Ruleset;
 
 RT::Ruleset->Add(
@@ -61,14 +62,6 @@ RT::Ruleset->Add(
         'RT::Approval::Rule::Created',
     ]);
 
-eval "require RT::Approval_Vendor";
-if ($@ && $@ !~ qr{^Can't locate RT/Approval_Vendor.pm}) {
-    die $@;
-};
-
-eval "require RT::Approval_Local";
-if ($@ && $@ !~ qr{^Can't locate RT/Approval_Local.pm}) {
-    die $@;
-};
+RT::Base->_ImportOverlays();
 
 1;