[Bps-public-commit] r20290 - in RT-Extension-SLA/lib/RT: Action Condition
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Thu Apr 14 01:30:53 EDT 2011
Author: sunnavy
Date: Thu Apr 14 01:30:52 2011
New Revision: 20290
Modified:
RT-Extension-SLA/lib/RT/Action/SLA.pm
RT-Extension-SLA/lib/RT/Condition/SLA.pm
RT-Extension-SLA/lib/RT/Extension/SLA.pm
Log:
::Generic is gone in rt4
Modified: RT-Extension-SLA/lib/RT/Action/SLA.pm
==============================================================================
--- RT-Extension-SLA/lib/RT/Action/SLA.pm (original)
+++ RT-Extension-SLA/lib/RT/Action/SLA.pm Thu Apr 14 01:30:52 2011
@@ -4,7 +4,7 @@
package RT::Action::SLA;
-use base qw(RT::Extension::SLA RT::Action::Generic);
+use base qw(RT::Extension::SLA RT::Action);
=head1 NAME
Modified: RT-Extension-SLA/lib/RT/Condition/SLA.pm
==============================================================================
--- RT-Extension-SLA/lib/RT/Condition/SLA.pm (original)
+++ RT-Extension-SLA/lib/RT/Condition/SLA.pm Thu Apr 14 01:30:52 2011
@@ -3,7 +3,7 @@
use warnings;
package RT::Condition::SLA;
-use base qw(RT::Extension::SLA RT::Condition::Generic);
+use base qw(RT::Extension::SLA RT::Condition);
=head1 SLAIsApplied
Modified: RT-Extension-SLA/lib/RT/Extension/SLA.pm
==============================================================================
--- RT-Extension-SLA/lib/RT/Extension/SLA.pm (original)
+++ RT-Extension-SLA/lib/RT/Extension/SLA.pm Thu Apr 14 01:30:52 2011
@@ -479,16 +479,16 @@
=head2 Classes
Actions are subclasses of L<RT::Action::SLA> class that is subclass of
-L<RT::Extension::SLA> and L<RT::Action::Generic> classes.
+L<RT::Extension::SLA> and L<RT::Action> classes.
Conditions are subclasses of L<RT::Condition::SLA> class that is subclass of
-L<RT::Extension::SLA> and L<RT::Condition::Generic> classes.
+L<RT::Extension::SLA> and L<RT::Condition> classes.
L<RT::Extension::SLA> is a base class for all classes in the extension,
it provides access to config, generates L<Business::Hours> objects, and
other things useful for whole extension. As this class is the base for
all actions and conditions then we MUST avoid adding methods which overload
-methods in 'RT::{Condition,Action}::Generic' RT's modules.
+methods in 'RT::{Condition,Action}' RT's modules.
=head1 NOTES
More information about the Bps-public-commit
mailing list