[Rt-commit] r12068 - in rt/branches/3.8-TESTING: .

sartak at bestpractical.com sartak at bestpractical.com
Mon May 5 02:37:21 EDT 2008


Author: sartak
Date: Mon May  5 02:37:19 2008
New Revision: 12068

Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/lib/RT/SharedSetting.pm

Log:
 r54882 at onn:  sartak | 2008-05-05 02:13:56 -0400
 Back out the checking of type and ID in the privacy string: RT::System has no ID


Modified: rt/branches/3.8-TESTING/lib/RT/SharedSetting.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/SharedSetting.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/SharedSetting.pm	Mon May  5 02:37:19 2008
@@ -267,10 +267,6 @@
     my $privacy = shift;
 
     my ($obj_type, $obj_id) = split(/\-/, ($privacy || ''));
-    if (!defined $obj_id) {
-        $RT::Logger->warning("Invalid privacy string \"$privacy\" passed to _GetObject");
-        return undef;
-    }
 
     my $object = $self->_load_privacy_object($obj_type, $obj_id);
 


More information about the Rt-commit mailing list