[Rt-commit] r13247 - in rt/branches/3.8-TESTING: . lib/RT/Condition lib/RT/Search

sartak at bestpractical.com sartak at bestpractical.com
Thu Jun 12 19:37:17 EDT 2008


Author: sartak
Date: Thu Jun 12 19:37:17 2008
New Revision: 13247

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:
 r62327 at onn:  sartak | 2008-06-12 19:36:46 -0400
 If there are RT::Action::Generic_Local etc files, then warn about their deprecation


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 19:37:17 2008
@@ -70,8 +70,11 @@
 
 eval "require RT::Action::Generic_Vendor";
 die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/Generic_Vendor.pm});
+warn "RT::Action::Generic has become RT::Action. Please adjust your deprecated RT::Action::Generic_Vendor file at " . $INC{"RT/Action/Generic_Vendor.pm"} if !$@;
+
 eval "require RT::Action::Generic_Local";
 die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/Generic_Local.pm});
+warn "RT::Action::Generic has become RT::Action. Please adjust your deprecated RT::Action::Generic_Local file at " . $INC{"RT/Action/Generic_Local.pm"} if !$@;
 
 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 19:37:17 2008
@@ -70,8 +70,11 @@
 
 eval "require RT::Condition::Generic_Vendor";
 die $@ if ($@ && $@ !~ qr{^Can't locate RT/Condition/Generic_Vendor.pm});
+warn "RT::Condition::Generic has become RT::Condition. Please adjust your RT::Condition::Generic_Vendor file at " . $INC{"RT/Condition/Generic_Vendor.pm"} if !$@;
+
 eval "require RT::Condition::Generic_Local";
 die $@ if ($@ && $@ !~ qr{^Can't locate RT/Condition/Generic_Local.pm});
+warn "RT::Condition::Generic has become RT::Condition. Please adjust your RT::Condition::Generic_Local file at " . $INC{"RT/Condition/Generic_Local.pm"} if !$@;
 
 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 19:37:17 2008
@@ -70,8 +70,11 @@
 
 eval "require RT::Search::Generic_Vendor";
 die $@ if ($@ && $@ !~ qr{^Can't locate RT/Search/Generic_Vendor.pm});
+warn "RT::Search::Generic has become RT::Search. Please adjust your RT::Search::Generic_Vendor file at " . $INC{"RT/Search/Generic_Vendor.pm"} if !$@;
+
 eval "require RT::Search::Generic_Local";
 die $@ if ($@ && $@ !~ qr{^Can't locate RT/Search/Generic_Local.pm});
+warn "RT::Search::Generic has become RT::Search. Please adjust your RT::Search::Generic_Local file at " . $INC{"RT/Search/Generic_Local.pm"} if !$@;
 
 1;
 


More information about the Rt-commit mailing list