[Rt-commit] r13232 - in rt/branches/3.8-TESTING: .

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


Author: sartak
Date: Thu Jun 12 17:32:32 2008
New Revision: 13232

Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/lib/RT/Action.pm
   rt/branches/3.8-TESTING/lib/RT/Condition.pm
   rt/branches/3.8-TESTING/lib/RT/Search.pm

Log:
 r62301 at onn:  sartak | 2008-06-12 17:21:45 -0400
 Fix internal references of RT::Foo::Generic to RT::Foo


Modified: rt/branches/3.8-TESTING/lib/RT/Action.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Action.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Action.pm	Thu Jun 12 17:32:32 2008
@@ -48,11 +48,11 @@
 
 =head1 NAME
 
-  RT::Action::Generic - a generic baseclass for RT Actions
+  RT::Action - a generic baseclass for RT Actions
 
 =head1 SYNOPSIS
 
-  use RT::Action::Generic;
+  use RT::Action;
 
 =head1 DESCRIPTION
 
@@ -61,7 +61,7 @@
 
 =cut
 
-package RT::Action::Generic;
+package RT::Action;
 
 use strict;
 use Scalar::Util;
@@ -219,9 +219,9 @@
 
 # }}}
 
-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});
+eval "require RT::Action_Vendor";
+die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action_Vendor.pm});
+eval "require RT::Action_Local";
+die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action_Local.pm});
 
 1;

Modified: rt/branches/3.8-TESTING/lib/RT/Condition.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Condition.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Condition.pm	Thu Jun 12 17:32:32 2008
@@ -48,12 +48,12 @@
 
 =head1 NAME
 
-  RT::Condition::Generic - ;
+  RT::Condition - generic baseclass for scrip condition;
 
 =head1 SYNOPSIS
 
-    use RT::Condition::Generic;
-    my $foo = RT::Condition::Generic->new( 
+    use RT::Condition;
+    my $foo = RT::Condition->new( 
 		TransactionObj => $tr, 
 		TicketObj => $ti, 
 		ScripObj => $scr, 
@@ -75,7 +75,7 @@
 
 =cut
 
-package RT::Condition::Generic;
+package RT::Condition;
 
 use strict;
 use warnings;
@@ -225,9 +225,9 @@
 
 # }}}
 
-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});
+eval "require RT::Condition_Vendor";
+die $@ if ($@ && $@ !~ qr{^Can't locate RT/Condition_Vendor.pm});
+eval "require RT::Condition_Local";
+die $@ if ($@ && $@ !~ qr{^Can't locate RT/Condition_Local.pm});
 
 1;

Modified: rt/branches/3.8-TESTING/lib/RT/Search.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Search.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Search.pm	Thu Jun 12 17:32:32 2008
@@ -48,14 +48,14 @@
 
 =head1 NAME
 
-  RT::Search::Generic - ;
+  RT::Search - generic baseclass for searches;
 
 =head1 SYNOPSIS
 
-    use RT::Search::Generic;
+    use RT::Search;
     my $tickets = RT::Tickets->new($CurrentUser);
-    my $foo = RT::Search::Generic->new(Argument => $arg,
-                                       TicketsObj => $tickets);
+    my $foo = RT::Search->new(Argument => $arg,
+                              TicketsObj => $tickets);
     $foo->Prepare();
     while ( my $ticket = $foo->Next ) {
         # Do something with each ticket we've found
@@ -72,7 +72,7 @@
 
 =cut
 
-package RT::Search::Generic;
+package RT::Search;
 
 use strict;
 
@@ -140,9 +140,9 @@
 }
 # }}}
 
-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});
+eval "require RT::Search_Vendor";
+die $@ if ($@ && $@ !~ qr{^Can't locate RT/Search_Vendor.pm});
+eval "require RT::Search_Local";
+die $@ if ($@ && $@ !~ qr{^Can't locate RT/Search_Local.pm});
 
 1;


More information about the Rt-commit mailing list