[Rt-commit] r7892 - rt/branches/3.6-RELEASE/lib/RT

ruz at bestpractical.com ruz at bestpractical.com
Wed May 16 23:11:34 EDT 2007


Author: ruz
Date: Wed May 16 23:11:33 2007
New Revision: 7892

Modified:
   rt/branches/3.6-RELEASE/lib/RT/ACE_Overlay.pm

Log:
* revert change as it's causing regressions

Modified: rt/branches/3.6-RELEASE/lib/RT/ACE_Overlay.pm
==============================================================================
--- rt/branches/3.6-RELEASE/lib/RT/ACE_Overlay.pm	(original)
+++ rt/branches/3.6-RELEASE/lib/RT/ACE_Overlay.pm	Wed May 16 23:11:33 2007
@@ -911,15 +911,6 @@
         return ( $princ_obj, undef );
     }
 
-    $princ_type ||= $princ_obj->PrincipalType;
-    unless ( $princ_type eq $princ_obj->PrincipalType ) {
-        $RT::Logger->error(
-            "Principal #$princ_id has type ". $princ_obj->PrincipalType
-            . " when caller says '$princ_type'"
-        );
-        $princ_type = $princ_obj->PrincipalType;
-    }
-
     # Rights never get granted to users. they get granted to their 
     # ACL equivalence groups
     if ( $princ_type eq 'User' ) {


More information about the Rt-commit mailing list