X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Flib%2FRT%2FPlugin.pm;h=82f4de2b2a2ad1b2597cdf00043a0f09f5ab7423;hb=b8988e1d3ac75af63c85e8563e57701030315a9e;hp=e78775ece3c50ff957aba1b93f347607babe7cf9;hpb=fc6209f398899f0211cfcedeb81a3cd65e04a941;p=freeside.git diff --git a/rt/lib/RT/Plugin.pm b/rt/lib/RT/Plugin.pm index e78775ece..82f4de2b2 100644 --- a/rt/lib/RT/Plugin.pm +++ b/rt/lib/RT/Plugin.pm @@ -2,7 +2,7 @@ # # COPYRIGHT: # -# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) @@ -46,8 +46,8 @@ # # END BPS TAGGED BLOCK }}} -use warnings; use strict; +use warnings; package RT::Plugin; use File::ShareDir; @@ -128,14 +128,6 @@ Returns the directory this plugin has installed its message catalogs into. sub PoDir { return $_[0]->Path('po') } -eval "require RT::Plugin_Vendor"; -if ($@ && $@ !~ qr{^Can't locate RT/Plugin_Vendor.pm}) { - die $@; -}; - -eval "require RT::Plugin_Local"; -if ($@ && $@ !~ qr{^Can't locate RT/Plugin_Local.pm}) { - die $@; -}; +RT::Base->_ImportOverlays(); 1;