[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.8-49-g185751a

Emannuel Lacour elacour at bestpractical.com
Fri May 14 12:03:53 EDT 2010


The branch, 3.8-trunk has been updated
       via  185751a6544342ef7b696fee410f84c192acd454 (commit)
      from  363028622172a779aa54e4f0aa5f779c44df72c5 (commit)

Summary of changes:
 lib/RT/Group_Overlay.pm |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 185751a6544342ef7b696fee410f84c192acd454
Author: Emmanuel Lacour <elacour at easter-eggs.com>
Date:   Fri May 14 18:03:34 2010 +0200

    Don't record useless transactions for ACL equiv. groups

diff --git a/lib/RT/Group_Overlay.pm b/lib/RT/Group_Overlay.pm
index 5bf5f7c..eab57e9 100755
--- a/lib/RT/Group_Overlay.pm
+++ b/lib/RT/Group_Overlay.pm
@@ -525,7 +525,8 @@ sub _CreateACLEquivalenceGroup {
                            Name => 'User '. $princ->Object->Id,
                            Description => 'ACL equiv. for user '.$princ->Object->Id,
                            Instance => $princ->Id,
-                           InsideTransaction => 1);
+                           InsideTransaction => 1,
+                           _RecordTransaction => 0 );
       unless ($id) {
         $RT::Logger->crit("Couldn't create ACL equivalence group");
         return undef;

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


More information about the Rt-commit mailing list