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

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


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

Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/lib/RT/Action/AutoOpen.pm
   rt/branches/3.8-TESTING/lib/RT/Action/CreateTickets.pm
   rt/branches/3.8-TESTING/lib/RT/Action/EscalatePriority.pm
   rt/branches/3.8-TESTING/lib/RT/Action/ExtractSubjectTag.pm
   rt/branches/3.8-TESTING/lib/RT/Action/RecordComment.pm
   rt/branches/3.8-TESTING/lib/RT/Action/ResolveMembers.pm
   rt/branches/3.8-TESTING/lib/RT/Action/SendEmail.pm
   rt/branches/3.8-TESTING/lib/RT/Action/SetPriority.pm
   rt/branches/3.8-TESTING/lib/RT/Action/UserDefined.pm
   rt/branches/3.8-TESTING/lib/RT/Condition/AnyTransaction.pm
   rt/branches/3.8-TESTING/lib/RT/Condition/BeforeDue.pm
   rt/branches/3.8-TESTING/lib/RT/Condition/CloseTicket.pm
   rt/branches/3.8-TESTING/lib/RT/Condition/Overdue.pm
   rt/branches/3.8-TESTING/lib/RT/Condition/OwnerChange.pm
   rt/branches/3.8-TESTING/lib/RT/Condition/PriorityChange.pm
   rt/branches/3.8-TESTING/lib/RT/Condition/PriorityExceeds.pm
   rt/branches/3.8-TESTING/lib/RT/Condition/QueueChange.pm
   rt/branches/3.8-TESTING/lib/RT/Condition/ReopenTicket.pm
   rt/branches/3.8-TESTING/lib/RT/Condition/StatusChange.pm
   rt/branches/3.8-TESTING/lib/RT/Condition/UserDefined.pm
   rt/branches/3.8-TESTING/lib/RT/Search/ActiveTicketsInQueue.pm
   rt/branches/3.8-TESTING/lib/RT/Search/FromSQL.pm
   rt/branches/3.8-TESTING/lib/RT/Search/Googleish.pm

Log:
 r62302 at onn:  sartak | 2008-06-12 17:24:18 -0400
 Have actions, conditions and searches inherit from RT::Foo instead of RT::Foo::Generic


Modified: rt/branches/3.8-TESTING/lib/RT/Action/AutoOpen.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Action/AutoOpen.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Action/AutoOpen.pm	Thu Jun 12 17:32:40 2008
@@ -52,7 +52,7 @@
 use strict;
 use warnings;
 
-use base qw(RT::Action::Generic);
+use base qw(RT::Action);
 
 =head1 DESCRIPTION
 

Modified: rt/branches/3.8-TESTING/lib/RT/Action/CreateTickets.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Action/CreateTickets.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Action/CreateTickets.pm	Thu Jun 12 17:32:40 2008
@@ -47,12 +47,12 @@
 # END BPS TAGGED BLOCK }}}
 
 package RT::Action::CreateTickets;
-require RT::Action::Generic;
+require RT::Action;
 
 use strict;
 use warnings;
 use vars qw/@ISA/;
- at ISA = qw(RT::Action::Generic);
+ at ISA = qw(RT::Action);
 
 use MIME::Entity;
 

Modified: rt/branches/3.8-TESTING/lib/RT/Action/EscalatePriority.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Action/EscalatePriority.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Action/EscalatePriority.pm	Thu Jun 12 17:32:40 2008
@@ -72,11 +72,11 @@
 
 
 package RT::Action::EscalatePriority;
-require RT::Action::Generic;
+require RT::Action;
 
 use strict;
 use vars qw/@ISA/;
- at ISA=qw(RT::Action::Generic);
+ at ISA=qw(RT::Action);
 
 #Do what we need to do and send it out.
 

Modified: rt/branches/3.8-TESTING/lib/RT/Action/ExtractSubjectTag.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Action/ExtractSubjectTag.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Action/ExtractSubjectTag.pm	Thu Jun 12 17:32:40 2008
@@ -47,11 +47,11 @@
 # END BPS TAGGED BLOCK }}}
 
 package RT::Action::ExtractSubjectTag;
-require RT::Action::Generic;
+require RT::Action;
 
 use strict;
 use vars qw/@ISA/;
- at ISA = qw(RT::Action::Generic);
+ at ISA = qw(RT::Action);
 
 sub Describe {
     my $self = shift;

Modified: rt/branches/3.8-TESTING/lib/RT/Action/RecordComment.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Action/RecordComment.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Action/RecordComment.pm	Thu Jun 12 17:32:40 2008
@@ -47,10 +47,10 @@
 # END BPS TAGGED BLOCK }}}
 
 package RT::Action::RecordComment;
-require RT::Action::Generic;
+require RT::Action;
 use strict;
 use vars qw/@ISA/;
- at ISA = qw(RT::Action::Generic);
+ at ISA = qw(RT::Action);
 
 =head1 NAME
 

Modified: rt/branches/3.8-TESTING/lib/RT/Action/ResolveMembers.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Action/ResolveMembers.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Action/ResolveMembers.pm	Thu Jun 12 17:32:40 2008
@@ -49,12 +49,12 @@
 # This Action will resolve all members of a resolved group ticket
 
 package RT::Action::ResolveMembers;
-require RT::Action::Generic;
+require RT::Action;
 require RT::Links;
 
 use strict;
 use vars qw/@ISA/;
- at ISA=qw(RT::Action::Generic);
+ at ISA=qw(RT::Action);
 
 #Do what we need to do and send it out.
 

Modified: rt/branches/3.8-TESTING/lib/RT/Action/SendEmail.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Action/SendEmail.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Action/SendEmail.pm	Thu Jun 12 17:32:40 2008
@@ -53,7 +53,7 @@
 use strict;
 use warnings;
 
-use base qw(RT::Action::Generic);
+use base qw(RT::Action);
 
 use MIME::Words qw(encode_mimeword);
 

Modified: rt/branches/3.8-TESTING/lib/RT/Action/SetPriority.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Action/SetPriority.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Action/SetPriority.pm	Thu Jun 12 17:32:40 2008
@@ -47,11 +47,11 @@
 # END BPS TAGGED BLOCK }}}
 
 package RT::Action::SetPriority;
-require RT::Action::Generic;
+require RT::Action;
 
 use strict;
 use vars qw/@ISA/;
- at ISA=qw(RT::Action::Generic);
+ at ISA=qw(RT::Action);
 
 #Do what we need to do and send it out.
 

Modified: rt/branches/3.8-TESTING/lib/RT/Action/UserDefined.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Action/UserDefined.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Action/UserDefined.pm	Thu Jun 12 17:32:40 2008
@@ -47,11 +47,11 @@
 # END BPS TAGGED BLOCK }}}
 
 package RT::Action::UserDefined;
-use RT::Action::Generic;
+use RT::Action;
 
 use strict;
 use vars qw/@ISA/;
- at ISA = qw(RT::Action::Generic);
+ at ISA = qw(RT::Action);
 
 =head2 Prepare
 

Modified: rt/branches/3.8-TESTING/lib/RT/Condition/AnyTransaction.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Condition/AnyTransaction.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Condition/AnyTransaction.pm	Thu Jun 12 17:32:40 2008
@@ -47,11 +47,11 @@
 # END BPS TAGGED BLOCK }}}
 
 package RT::Condition::AnyTransaction;
-require RT::Condition::Generic;
+require RT::Condition;
 
 use strict;
 use vars qw/@ISA/;
- at ISA = qw(RT::Condition::Generic);
+ at ISA = qw(RT::Condition);
 
 
 =head2 IsApplicable

Modified: rt/branches/3.8-TESTING/lib/RT/Condition/BeforeDue.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Condition/BeforeDue.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Condition/BeforeDue.pm	Thu Jun 12 17:32:40 2008
@@ -47,13 +47,13 @@
 # END BPS TAGGED BLOCK }}}
 
 package RT::Condition::BeforeDue;
-require RT::Condition::Generic;
+require RT::Condition;
 
 use RT::Date;
 
 use strict;
 use vars qw/@ISA/;
- at ISA = qw(RT::Condition::Generic);
+ at ISA = qw(RT::Condition);
 
 
 sub IsApplicable {

Modified: rt/branches/3.8-TESTING/lib/RT/Condition/CloseTicket.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Condition/CloseTicket.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Condition/CloseTicket.pm	Thu Jun 12 17:32:40 2008
@@ -51,7 +51,7 @@
 use strict;
 use warnings;
 
-use base 'RT::Condition::Generic';
+use base 'RT::Condition';
 
 
 =head2 IsApplicable

Modified: rt/branches/3.8-TESTING/lib/RT/Condition/Overdue.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Condition/Overdue.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Condition/Overdue.pm	Thu Jun 12 17:32:40 2008
@@ -57,11 +57,11 @@
 =cut
 
 package RT::Condition::Overdue;
-require RT::Condition::Generic;
+require RT::Condition;
 
 use strict;
 use vars qw/@ISA/;
- at ISA = qw(RT::Condition::Generic);
+ at ISA = qw(RT::Condition);
 
 
 =head2 IsApplicable

Modified: rt/branches/3.8-TESTING/lib/RT/Condition/OwnerChange.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Condition/OwnerChange.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Condition/OwnerChange.pm	Thu Jun 12 17:32:40 2008
@@ -47,11 +47,11 @@
 # END BPS TAGGED BLOCK }}}
 
 package RT::Condition::OwnerChange;
-require RT::Condition::Generic;
+require RT::Condition;
 
 use strict;
 use vars qw/@ISA/;
- at ISA = qw(RT::Condition::Generic);
+ at ISA = qw(RT::Condition);
 
 
 =head2 IsApplicable

Modified: rt/branches/3.8-TESTING/lib/RT/Condition/PriorityChange.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Condition/PriorityChange.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Condition/PriorityChange.pm	Thu Jun 12 17:32:40 2008
@@ -47,11 +47,11 @@
 # END BPS TAGGED BLOCK }}}
 
 package RT::Condition::PriorityChange;
-require RT::Condition::Generic;
+require RT::Condition;
 
 use strict;
 use vars qw/@ISA/;
- at ISA = qw(RT::Condition::Generic);
+ at ISA = qw(RT::Condition);
 
 
 =head2 IsApplicable

Modified: rt/branches/3.8-TESTING/lib/RT/Condition/PriorityExceeds.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Condition/PriorityExceeds.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Condition/PriorityExceeds.pm	Thu Jun 12 17:32:40 2008
@@ -47,11 +47,11 @@
 # END BPS TAGGED BLOCK }}}
 
 package RT::Condition::PriorityExceeds;
-require RT::Condition::Generic;
+require RT::Condition;
 
 use strict;
 use vars qw/@ISA/;
- at ISA = qw(RT::Condition::Generic);
+ at ISA = qw(RT::Condition);
 
 
 =head2 IsApplicable

Modified: rt/branches/3.8-TESTING/lib/RT/Condition/QueueChange.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Condition/QueueChange.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Condition/QueueChange.pm	Thu Jun 12 17:32:40 2008
@@ -47,11 +47,11 @@
 # END BPS TAGGED BLOCK }}}
 
 package RT::Condition::QueueChange;
-require RT::Condition::Generic;
+require RT::Condition;
 
 use strict;
 use vars qw/@ISA/;
- at ISA = qw(RT::Condition::Generic);
+ at ISA = qw(RT::Condition);
 
 
 =head2 IsApplicable

Modified: rt/branches/3.8-TESTING/lib/RT/Condition/ReopenTicket.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Condition/ReopenTicket.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Condition/ReopenTicket.pm	Thu Jun 12 17:32:40 2008
@@ -51,7 +51,7 @@
 use strict;
 use warnings;
 
-use base 'RT::Condition::Generic';
+use base 'RT::Condition';
 
 
 =head2 IsApplicable

Modified: rt/branches/3.8-TESTING/lib/RT/Condition/StatusChange.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Condition/StatusChange.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Condition/StatusChange.pm	Thu Jun 12 17:32:40 2008
@@ -47,11 +47,11 @@
 # END BPS TAGGED BLOCK }}}
 
 package RT::Condition::StatusChange;
-require RT::Condition::Generic;
+require RT::Condition;
 
 use strict;
 use vars qw/@ISA/;
- at ISA = qw(RT::Condition::Generic);
+ at ISA = qw(RT::Condition);
 
 
 =head2 IsApplicable

Modified: rt/branches/3.8-TESTING/lib/RT/Condition/UserDefined.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Condition/UserDefined.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Condition/UserDefined.pm	Thu Jun 12 17:32:40 2008
@@ -48,11 +48,11 @@
 
 package RT::Condition::UserDefined;
 
-use RT::Condition::Generic;
+use RT::Condition;
 
 use strict;
 use vars qw/@ISA/;
- at ISA = qw(RT::Condition::Generic);
+ at ISA = qw(RT::Condition);
 
 
 =head2 IsApplicable

Modified: rt/branches/3.8-TESTING/lib/RT/Search/ActiveTicketsInQueue.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Search/ActiveTicketsInQueue.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Search/ActiveTicketsInQueue.pm	Thu Jun 12 17:32:40 2008
@@ -66,7 +66,7 @@
 package RT::Search::ActiveTicketsInQueue;
 
 use strict;
-use base qw(RT::Search::Generic);
+use base qw(RT::Search);
 
 
 # {{{ sub Describe 

Modified: rt/branches/3.8-TESTING/lib/RT/Search/FromSQL.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Search/FromSQL.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Search/FromSQL.pm	Thu Jun 12 17:32:40 2008
@@ -66,7 +66,7 @@
 package RT::Search::FromSQL;
 
 use strict;
-use base qw(RT::Search::Generic);
+use base qw(RT::Search);
 
 =head2 Describe
 

Modified: rt/branches/3.8-TESTING/lib/RT/Search/Googleish.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Search/Googleish.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Search/Googleish.pm	Thu Jun 12 17:32:40 2008
@@ -67,7 +67,7 @@
 package RT::Search::Googleish;
 
 use strict;
-use base qw(RT::Search::Generic);
+use base qw(RT::Search);
 
 
 # sub _Init {{{


More information about the Rt-commit mailing list