Commit 289bfdd1 authored by sunnavy's avatar sunnavy Committed by Ruslan Zakirov
Browse files

::Generic is gone in rt4

parent 03ccbb48
......@@ -4,7 +4,7 @@ use warnings;
package RT::Action::SLA;
use base qw(RT::Extension::SLA RT::Action::Generic);
use base qw(RT::Extension::SLA RT::Action);
=head1 NAME
......
......@@ -3,7 +3,7 @@ use strict;
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
......
......@@ -444,16 +444,16 @@ sub GetDefaultServiceLevel {
=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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment