[Rt-commit] rt branch, 3.8/overlayable-approvals, created. rt-3.8.10-12-g4b264c9

Kevin Falcone falcone at bestpractical.com
Thu Jun 23 20:09:49 EDT 2011


The branch, 3.8/overlayable-approvals has been created
        at  4b264c9a632ec3a9916e51afabe0472ecde9a888 (commit)

- Log -----------------------------------------------------------------
commit 4b264c9a632ec3a9916e51afabe0472ecde9a888
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Thu Jun 23 20:09:08 2011 -0400

    Allow overrides without copying the whole file

diff --git a/lib/RT/Approval/Rule/Created.pm b/lib/RT/Approval/Rule/Created.pm
index 324061e..40382f9 100644
--- a/lib/RT/Approval/Rule/Created.pm
+++ b/lib/RT/Approval/Rule/Created.pm
@@ -68,4 +68,6 @@ sub Commit {
     $self->RunScripAction('Open Tickets' => 'Blank');
 }
 
+RT::Base->_ImportOverlays();
+
 1;
diff --git a/lib/RT/Approval/Rule/NewPending.pm b/lib/RT/Approval/Rule/NewPending.pm
index 6d93d82..026f7e6 100644
--- a/lib/RT/Approval/Rule/NewPending.pm
+++ b/lib/RT/Approval/Rule/NewPending.pm
@@ -94,4 +94,6 @@ sub Commit {
 
 }
 
+RT::Base->_ImportOverlays();
+
 1;
diff --git a/lib/RT/Approval/Rule/Passed.pm b/lib/RT/Approval/Rule/Passed.pm
index 1618e6e..c8544fc 100644
--- a/lib/RT/Approval/Rule/Passed.pm
+++ b/lib/RT/Approval/Rule/Passed.pm
@@ -108,4 +108,6 @@ sub Commit {
     return;
 }
 
+RT::Base->_ImportOverlays();
+
 1;
diff --git a/lib/RT/Approval/Rule/Rejected.pm b/lib/RT/Approval/Rule/Rejected.pm
index b10f5f0..6ca43aa 100644
--- a/lib/RT/Approval/Rule/Rejected.pm
+++ b/lib/RT/Approval/Rule/Rejected.pm
@@ -112,4 +112,6 @@ sub Commit {    # XXX: from custom prepare code
 
 }
 
+RT::Base->_ImportOverlays();
+
 1;

-----------------------------------------------------------------------


More information about the Rt-commit mailing list