[Rt-commit] r13235 - in rt/branches/3.8-TESTING: . lib/RT/Condition lib/RT/Search
sartak at bestpractical.com
sartak at bestpractical.com
Thu Jun 12 17:33:01 EDT 2008
Author: sartak
Date: Thu Jun 12 17:33:01 2008
New Revision: 13235
Modified:
rt/branches/3.8-TESTING/ (props changed)
rt/branches/3.8-TESTING/lib/RT/Action/Generic.pm
rt/branches/3.8-TESTING/lib/RT/Condition/Generic.pm
rt/branches/3.8-TESTING/lib/RT/Search/Generic.pm
Log:
r62304 at onn: sartak | 2008-06-12 17:28:51 -0400
Load the Vendor and Local versions of RT::Foo::Generic
Modified: rt/branches/3.8-TESTING/lib/RT/Action/Generic.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Action/Generic.pm (original)
+++ rt/branches/3.8-TESTING/lib/RT/Action/Generic.pm Thu Jun 12 17:33:01 2008
@@ -68,5 +68,10 @@
package RT::Action::Generic;
use base 'RT::Action';
+eval "require RT::Action::Generic_Vendor";
+die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/Generic_Vendor.pm});
+eval "require RT::Action::Generic_Local";
+die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/Generic_Local.pm});
+
1;
Modified: rt/branches/3.8-TESTING/lib/RT/Condition/Generic.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Condition/Generic.pm (original)
+++ rt/branches/3.8-TESTING/lib/RT/Condition/Generic.pm Thu Jun 12 17:33:01 2008
@@ -68,5 +68,10 @@
package RT::Condition::Generic;
use base 'RT::Condition';
+eval "require RT::Condition::Generic_Vendor";
+die $@ if ($@ && $@ !~ qr{^Can't locate RT/Condition/Generic_Vendor.pm});
+eval "require RT::Condition::Generic_Local";
+die $@ if ($@ && $@ !~ qr{^Can't locate RT/Condition/Generic_Local.pm});
+
1;
Modified: rt/branches/3.8-TESTING/lib/RT/Search/Generic.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Search/Generic.pm (original)
+++ rt/branches/3.8-TESTING/lib/RT/Search/Generic.pm Thu Jun 12 17:33:01 2008
@@ -68,5 +68,10 @@
package RT::Search::Generic;
use base 'RT::Search';
+eval "require RT::Search::Generic_Vendor";
+die $@ if ($@ && $@ !~ qr{^Can't locate RT/Search/Generic_Vendor.pm});
+eval "require RT::Search::Generic_Local";
+die $@ if ($@ && $@ !~ qr{^Can't locate RT/Search/Generic_Local.pm});
+
1;
More information about the Rt-commit
mailing list