Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
best-practical
rt-extension-sla
Commits
e2bd1d9e
Commit
e2bd1d9e
authored
Apr 14, 2011
by
sunnavy
Browse files
::Generic is gone in rt4
parent
7dae2f6b
Changes
3
Hide whitespace changes
Inline
Side-by-side
lib/RT/Action/SLA.pm
View file @
e2bd1d9e
...
...
@@ -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
...
...
lib/RT/Condition/SLA.pm
View file @
e2bd1d9e
...
...
@@ -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
...
...
lib/RT/Extension/SLA.pm
View file @
e2bd1d9e
...
...
@@ -479,16 +479,16 @@ sub Report {
=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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment